/* ============================================================= */
/*	Inhaltselemente   */
/* ============================================================= */
/* Logo */
.element.logo {
  flex: 1 0 20%;
}
.logo-main-wrapper {
  max-width: 100px;
}
.dpd-logo {
  max-width: 100px;
}
@media all and (max-width: 800px) {
  .dpd-logo {
    max-width: 50px;
  }
}
.logo-main-wrapper img {
  height: auto;
  width: auto;
  max-width: 100%;
}
@media all and (max-width: 800px) {
  .element.logo {
    flex: 1 0 50%;
  }
}
/* Navigation */
.element.navigation {
  flex: 1 0 80% ;
}
@media all and (max-width: 800px) {
  .element.navigation {
    flex: 1 0 50% ;
  }
}
/* Navigation */
.element.navigation {
  display: flex;
}
.element.navigation .navigation-trigger {
  display: none;
}
.element.navigation > nav {
  align-self: center;
}
.element.navigation > nav ul,
.element.navigation > nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.element.navigation > nav > ul.rte-ul > li.rte-li > div.rte-line {
  font-size: 24px;
  line-height: 36px;
}
.element.navigation > nav > ul.rte-ul > li.rte-li > ul.rte-ul > li.rte-li > div.rte-line {
  font-size: 18px;
  line-height: 24px;
}
.element.navigation > nav a,
.element.navigation > nav ul.rte-ul {
  color: var(--navigation-text-color);
  text-decoration: none;
}
@media all and (min-width: 800px) {
  .element.navigation > nav > ul.rte-ul > li.rte-li > div.rte-line {
    padding: 5px 10px;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li > div.rte-line::after {
    background-color: var(--navigation-background-color);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 5px;
    width: 100%;
    content: '';
    z-index: 9999;
    display: none;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li {
    float: left;
    position: relative;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li > ul.rte-ul {
    display: none;
    position: absolute;
    top: 46px;
    left: 0;
    z-index: 1000;
    background-color: var(--navigation-background-color);
    min-width: 200px;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li > ul.rte-ul > li.rte-li > div.rte-line {
    padding: 5px 10px;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li > ul.rte-ul > li.rte-li > div.rte-line:last-child {
    padding-bottom: 10px;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li > ul.rte-ul > div.rte-line {
    display: none;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li:last-child > ul.rte-ul {
    left: auto;
    right: 0;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li:hover {
    background-color: var(--navigation-background-color);
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li:hover > ul.rte-ul {
    display: block;
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li:hover > div.rte-line,
  .element.navigation > nav > ul.rte-ul > li.rte-li:hover > ul.rte-ul {
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.35);
  }
  .element.navigation > nav > ul.rte-ul > li.rte-li:hover > div.rte-line::after {
    display: block;
  }
}
@media all and (max-width: 800px) {
  .element.navigation .navigation-trigger {
    padding: 0;
    display: flex;
    cursor: pointer;
    transition-property: opacity, filter;
    transition-duration: 0.15s;
    transition-timing-function: linear;
    font: inherit;
    color: inherit;
    text-transform: none;
    background-color: transparent;
    border: 0;
    margin: 0;
    overflow: visible;
    position: relative;
    z-index: 1001;
    justify-content: center;
    flex-direction: column;
  }
  .element.navigation .navigation-trigger[data-active="true"] .navigation-trigger-inner,
  .element.navigation .navigation-trigger[data-active="true"] .navigation-trigger-inner::before,
  .element.navigation .navigation-trigger[data-active="true"] .navigation-trigger-inner::after {
    background-color: var(--header-text-color);
  }
  .element.navigation .navigation-trigger-box {
    width: 40px;
    height: 24px;
    display: inline-block;
    position: relative;
  }
  .element.navigation .navigation-trigger-inner {
    display: block;
    top: 50%;
    margin-top: -2px;
  }
  .element.navigation .navigation-trigger-inner,
  .element.navigation .navigation-trigger-inner::before,
  .element.navigation .navigation-trigger-inner::after {
    width: 40px;
    height: 4px;
    background-color: var(--header-text-color);
    border-radius: 4px;
    position: absolute;
    transition-property: transform;
    transition-duration: 0.15s;
    transition-timing-function: ease;
  }
  .element.navigation .navigation-trigger-inner::before,
  .element.navigation .navigation-trigger-inner::after {
    content: '';
    display: block;
  }
  .element.navigation .navigation-trigger-inner::before {
    top: -10px;
  }
  .element.navigation .navigation-trigger-inner::after {
    bottom: -10px;
  }
  .element.navigation .navigation-trigger .navigation-trigger-inner {
    top: 2px;
  }
  .element.navigation .navigation-trigger .navigation-trigger-inner::before {
    top: 10px;
    transition-property: transform, opacity;
    transition-timing-function: ease;
    transition-duration: 0.15s;
  }
  .element.navigation .navigation-trigger .navigation-trigger-inner::after {
    top: 20px;
  }
  .element.navigation .navigation-trigger[data-active="true"] .navigation-trigger-inner {
    transform: translate3d(0, 10px, 0) rotate(45deg);
  }
  .element.navigation .navigation-trigger[data-active="true"] .navigation-trigger-inner::before {
    transform: rotate(-45deg) translate3d(-5.71429px, -6px, 0);
    opacity: 0;
  }
  .element.navigation .navigation-trigger[data-active="true"] .navigation-trigger-inner::after {
    transform: translate3d(0, -20px, 0) rotate(-90deg);
  }
  .element.navigation nav {
    position: fixed;
    left: auto;
    top: 0;
    right: -100vw;
    width: 100vw;
    height: 100vh;
    padding: 20px;
    z-index: 1000;
    color: var(--navigation-text-color);
    background-color: var(--navigation-background-color);
    align-self: none;
    box-sizing: border-box;
    transition: right 200ms;
  }
  .element.navigation .navigation-trigger[data-active="true"] + nav {
    right: 0vw;
  }
}
@media all and (max-width: 800px) {
  .header-top .flex .element + .element {
    flex-direction: row-reverse;
  }
}
/* Header Image */
.header-image {
  overflow: hidden;
  position: relative;
}
.bild-fixe-breite-responsive {
  position: relative;
}
.bild-fixe-breite-responsive .element-wrapper {
  position: absolute;
  bottom: 25%;
  left: 0;
  right: 0;
}
.bild-fixe-breite-responsive .element-wrapper .header-title {
  color: var(--header-scene-text-color);
  pointer-events: none;
}
.bild-ganze-breite-responsive {
  position: relative;
}
.bild-ganze-breite-responsive .row-wrapper {
  position: absolute;
  bottom: 25%;
  left: 0;
  right: 0;
}
.bild-ganze-breite-responsive .row-wrapper .header-title {
  color: var(--header-scene-text-color);
  pointer-events: none;
}
/* Farbleiste */
.color-bar {
  position: relative;
  z-index: 10;
}
.color-bar nav {
  background-color: var(--color-bar-background);
}
.color-bar nav .rte-line,
.color-bar nav .rte-ol {
  display: none;
}
.color-bar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex: 0 1;
  -ms-flex: 0 1;
}
.color-bar nav ul .rte-li .rte-line {
  display: block;
}
.color-bar nav ul br,
.color-bar nav ul ul {
  display: none;
}
.color-bar nav li {
  color: var(--color-bar-font-color);
  margin: 0;
  padding: 0 16px;
  line-height: 48px;
  border-left: 1px solid var(--color-bar-divider-color);
}
.color-bar nav li:last-child {
  border-right: 1px solid var(--color-bar-divider-color);
}
.color-bar nav li a {
  color: inherit;
}
.color-bar nav li a:hover,
.color-bar nav li a:focus {
  text-decoration: none;
}
.color-bar nav li.linked {
  padding: 0;
}
.color-bar nav li.linked a {
  display: block;
  height: 48px;
  padding: 0 16px;
  background-color: transparent;
}
.color-bar nav li.linked a:focus,
.color-bar nav li.linked a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
.color-bar .color-bar-fixed-width ul li:first-child {
  border-left: none;
}
@media (max-width: var(--max-width)) {
  .color-bar ul li:first-child {
    border-left: none;
  }
}
@media (max-width: 800px) {
  .color-bar ul {
    flex-direction: column;
    margin: 0;
  }
  .color-bar ul li {
    padding: 0 20px;
    border-left: none;
    border-bottom: 1px solid var(--color-bar-divider-color);
  }
  .color-bar ul li:last-child {
    border-bottom: none;
  }
}
/* Text Element */
/* Text Bild Element */
.content-element.text-image .image {
  margin-bottom: 15px;
}
/* Hervorgehobener Inhalt Primär-Farbe */
.primary-color-bg {
  padding: 30px 20px 0;
}
.primary-color-bg .content-element.image-wrapper {
  margin: 0 0 10px;
}
.primary-color-bg.element .row .flex .element {
  margin: 0 20px;
}
.primary-color-bg .content-element.text-image .row .flex .image {
  margin-bottom: 15px;
}
.primary-color-bg .content-element.image-wrapper img {
  max-width: 100%;
  width: auto;
}
/* Hervorgehobener Inhalt Sekundär-Farbe */
.secondary-color-bg {
  padding: 30px 20px 0;
}
.secondary-color-bg .content-element.image-wrapper {
  margin: 0 0 10px;
}
.secondary-color-bg.element .row .flex .element {
  margin: 0 20px;
}
.secondary-color-bg .content-element.text-image .row .flex .image {
  margin-bottom: 15px;
}
.secondary-color-bg .content-element.image-wrapper img {
  max-width: 100%;
  width: auto;
}
/* Bild / Bildlegende */
.content-element.image-wrapper img {
  margin: 0 0 10px 0;
  height: auto;
}
.content-element.image-no-legend img {
  margin-bottom: 0;
}
/* Bild Title CTA */
.image-title-cta .flipper-card-outer {
  margin: 0;
  position: relative;
  cursor: pointer;
}
.image-title-cta .flipper-card-outer .flipper-card-inner {
  -webkit-perspective: 1000px;
  perspective: 1000px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.image-title-cta .flipper-card-outer input {
  display: none;
}
.image-title-cta .flipper-card-outer .image {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.image-title-cta .flipper-card-outer .image img {
  margin: 0;
}
.image-title-cta .flipper-card-outer .image .image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.image-title-cta .flipper-card-outer .image .image-title {
  margin: 0 0 30px 0;
  padding: 0 25px;
  color: #ffffff;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
}
.image-title-cta .flipper-card-outer .image .image-cta {
  margin: 0 25px 25px 25px;
}
.image-title-cta .flipper-card-outer .image .image-cta .button div {
  float: none;
  border: 1px solid #ffffff;
  color: #ffffff;
  background: transparent;
  background-color: transparent;
  display: inline-block;
}
.image-title-cta .flipper-card-outer .image::before {
  content: '';
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.05) 49%, #000 100%);
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.05) 49%, #000 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.05) 49%, #000000 100%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.image-title-cta .flipper-card-outer .description {
  background-color: var(--card-backside-background);
  color: var(--card-backside-font-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -webkit-transform: rotateY(-180deg);
  transform: rotateY(-180deg);
  padding: 25px;
}
.image-title-cta .flipper-card-outer .description .description-title {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 22px;
  line-height: 30px;
  padding: 0;
  margin: 0 0 13px 0;
}
.image-title-cta .flipper-card-outer .description .description-text {
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.image-title-cta .flipper-card-outer .description .description-button {
  font-size: 13px;
  line-height: 30px;
  position: absolute;
  bottom: 25px;
}
.image-title-cta .flipper-card-outer .description .description-button a {
  float: none;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  background-color: transparent;
  display: inline-block;
}
.image-title-cta .flipper-card-outer .image,
.image-title-cta .flipper-card-outer .description {
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transition: all 600ms;
  transition: all 600ms;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.15);
  border: 1px solid #DADADA;
}
.image-title-cta .element:hover .image,
.image-title-cta .element input:checked + .flipper-card-inner .image {
  -webkit-transform: rotateY(180deg);
  transform: rotateY(180deg);
}
.image-title-cta .element:hover .description,
.image-title-cta .element input:checked + .flipper-card-inner .description {
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
}
.no-js .image-title-cta .flipper-card-outer .description {
  visibility: visible !important;
}
/* Bild Title Swipe */
.image-swipe-links .swipe-card {
  margin: 0;
  position: relative;
  cursor: pointer;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  opacity: 1;
}
.image-swipe-links .swipe-card .image {
  -webkit-transform: rotateZ(0deg) translateX(0%);
  transform: rotateZ(0deg) translateX(0%);
  -webkit-transform-origin: center bottom;
  transform-origin: center bottom;
}
.image-swipe-links .swipe-card.left .image {
  -webkit-transform: rotateZ(-2deg) translateX(0%);
  transform: rotateZ(-2deg) translateX(0%);
  -webkit-transform-origin: left bottom;
  transform-origin: left bottom;
}
.image-swipe-links .swipe-card.left.click .image {
  -webkit-transform: rotateZ(-45deg) translateX(-50%);
  transform: rotateZ(-45deg) translateX(-50%);
  opacity: 0;
}
.image-swipe-links .swipe-card.right .image {
  -webkit-transform: rotateZ(2deg) translateX(0%);
  transform: rotateZ(2deg) translateX(0%);
  -webkit-transform-origin: right bottom;
  transform-origin: right bottom;
}
.image-swipe-links .swipe-card.right.click .image {
  -webkit-transform: rotateZ(45deg) translateX(50%);
  transform: rotateZ(45deg) translateX(50%);
  opacity: 0;
}
.image-swipe-links .image {
  -webkit-box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 2px 3px 5px 0 rgba(0, 0, 0, 0.15);
  border: 1px solid #DADADA;
  -webkit-transition: transform 100ms;
  transition: transform 100ms;
}
.image-swipe-links .image .link {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  outline: none;
  border: none;
  text-decoration: none;
  opacity: 0;
}
.image-swipe-links .image .link a {
  display: none;
}
.image-swipe-links .image .link.left {
  left: 0;
}
.image-swipe-links .image .link.right {
  right: 0;
}
.image-swipe-links .image img {
  position: relative;
  margin: 0;
  z-index: 2;
}
.image-swipe-links .image .image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.image-swipe-links .image .image-title,
.image-swipe-links .image .image-text {
  color: #ffffff;
  padding: 0 25px;
}
.image-swipe-links .image .image-title {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  margin: 0 0 13px 0;
}
.image-swipe-links .image .image-text {
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin: 0 0 30px 0;
}
.image-swipe-links .image::before {
  content: '';
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.05) 49%, #000 100%);
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.05) 49%, #000 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.01) 0%, rgba(0, 0, 0, 0.05) 49%, #000000 100%);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mod-no-touchevents .image-swipe-links .image .link {
  z-index: 3;
}
.mod-touchevents .image-swipe-links .image .link {
  z-index: 1;
}
/* Image-Text */
.image-text .element {
  margin: 0;
}
.image-text .image img {
  position: relative;
  margin: 0;
  z-index: 2;
}
.image-text .image .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
.image-text .image .image-text {
  color: #ffffff;
  padding: 0 25px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  margin: 30px 0 30px 0;
}
.image-text .image .image-text > h1,
.image-text .image .image-text > h2,
.image-text .image .image-text > h3,
.image-text .image .image-text > p {
  margin: auto;
}
/* Webcam Image Upload */
.webcam-image-upload form .content-element.image-wrapper {
  position: relative;
}
.webcam-image-upload form .content-element.image-wrapper img {
  margin-bottom: 0;
  width: 100%;
}
.webcam-image-upload form .content-element.image-wrapper .file,
.webcam-image-upload form .content-element.image-wrapper canvas,
.webcam-image-upload form .content-element.image-wrapper video {
  display: none;
}
.webcam-image-upload form .content-element.image-wrapper canvas {
  position: relative;
  z-index: 1;
}
.webcam-image-upload form .content-element.image-wrapper video {
  width: 100%;
}
.webcam-image-upload form .content-element.image-wrapper .preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  opacity: 0;
  transition: all 250ms;
}
.webcam-image-upload .form-button-bar.hidden {
  display: none;
}
.webcam-image-upload .form-button-container.capture {
  display: block;
  float: none;
  margin: 0;
}
.webcam-image-upload .form-button-container.capture .form-button {
  width: 100%;
}
.webcam-image-upload .form-button-container.retry,
.webcam-image-upload .form-button-container.submit {
  margin: 0;
  width: 50%;
  box-sizing: border-box;
}
.webcam-image-upload .form-button-container.retry .form-button,
.webcam-image-upload .form-button-container.submit .form-button {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.webcam-image-upload .form-button-container.retry {
  padding-right: 7.5px;
}
.webcam-image-upload .form-button-container.submit {
  padding-left: 7.5px;
}
@media all and (max-width: 415px) {
  .webcam-image-upload .form-button-container.retry,
  .webcam-image-upload .form-button-container.submit {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .webcam-image-upload .form-button-container.retry .form-button {
    margin-bottom: 20px;
  }
}
.webcam-image-upload.undecided .introduction {
  display: block;
}
.webcam-image-upload.undecided .errormessage,
.webcam-image-upload.undecided form .content-element.image-wrapper .preview,
.webcam-image-upload.undecided .submit-reset-bar {
  display: none;
}
.webcam-image-upload.supported .introduction,
.webcam-image-upload.supported .errormessage,
.webcam-image-upload.supported .submit-reset-bar {
  display: none;
}
.webcam-image-upload.unsupported .introduction,
.webcam-image-upload.unsupported form .content-element.image-wrapper .preview {
  display: none;
}
.webcam-image-upload.unsupported .errormessage {
  margin-bottom: 10px;
}
.webcam-image-upload.unsupported .errormessage,
.webcam-image-upload.unsupported form .content-element.image-wrapper .file,
.webcam-image-upload.unsupported .submit-reset-bar {
  display: block;
}
.webcam-image-upload.unsupported .errormessage label,
.webcam-image-upload.unsupported form .content-element.image-wrapper .file label,
.webcam-image-upload.unsupported .submit-reset-bar label {
  display: none;
}
/* Pie Chart */
.pie-chart .chart {
  position: relative;
}
/* QR-Code Element */
.qr-code img.qr-code-image-placeholder {
  display: none;
}
.qr-code img.qr-code-image[src^="<"][src$=">"],
.qr-code img.qr-code-image[src=""] {
  display: none;
}
.qr-code img.qr-code-image[src^="<"][src$=">"] + img.qr-code-image-placeholder,
.qr-code img.qr-code-image[src=""] + img.qr-code-image-placeholder {
  display: block;
}
/* BUTTON */
.button {
  border: 0;
  padding: 0;
}
.button a,
.button div {
  cursor: pointer;
  display: block;
  float: left;
  font-size: 16px;
  font-weight: 600;
  text-transform: none;
  line-height: 24px;
  padding: 12px 30px;
  width: auto;
  text-align: center;
  background-color: var(--primary-color);
  color: #ffffff;
  border-radius: 11px;
  transition: background-color 0.3s ease, transform 0.1s ease;
}
.button:hover a,
.button:hover div {
  cursor: pointer;
  text-decoration: none;
  background-color: #b00028; /* Darker shade of DPD Red */
}
.button.fullwidth a {
  box-sizing: border-box;
  width: 100%;
  font-size: 20px;
  line-height: 30px;
}
.button.center a {
  line-height: 20px;
  padding: 7px 35px;
  width: fit-content;
  text-align: center;
  margin: auto;
  float: none;
}
.image-button.center {
  text-align: center;
}
.image-button.center a {
  line-height: 20px;
  width: auto;
  text-align: center;
  margin: auto;
  float: none;
}
.image-button.center a img {
  width: auto;
}
@media all and (max-width: 415px) {
  .element > .button a {
    box-sizing: border-box;
    width: 100%;
  }
}
/* Abstand */
.spacer {
  height: 30px;
}
.spacer-small {
  height: 5px;
}
.spacer-medium {
  height: 10px;
}
/* Trennerlinie */
.element.divider {
  margin-bottom: 50px;
}
/* Tabelle */
.wysiwyg table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}
.wysiwyg table th {
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}
.wysiwyg table td .lbl {
  display: none;
  flex: 0 0 30%;
}
.table-has-stripes > table tr:nth-child(2n + 3) td {
  background: var(--table-highlight-background);
  color: var(--table-highlight-color);
}
@media all and (max-width: 800px) {
  .wysiwyg.tablesaw table,
  .wysiwyg.tablesaw table > tbody {
    display: block;
  }
  .wysiwyg.tablesaw table colgroup,
  .wysiwyg.tablesaw table th {
    display: none;
  }
  .wysiwyg.tablesaw table tr {
    display: block;
  }
  .wysiwyg.tablesaw table tr td:first-child {
    padding-top: 4px;
  }
  .wysiwyg.tablesaw table tr td:last-child {
    padding-bottom: 4px;
  }
  .wysiwyg.tablesaw table td {
    display: flex;
  }
  .wysiwyg.tablesaw table td .lbl {
    display: block;
    width: 30%;
    flex: 0 0 30%;
    font-weight: 600;
    padding-left: 4px;
  }
  .wysiwyg.tablesaw table td .dta {
    flex: 0 0 70%;
  }
}
/* =============================================
	Formular Elemente
=============================================== */
@media screen and (min-width: 415px) {
  form .form-field-horizontal {
    flex: 1 0;
    display: flex;
  }
  form .form-field-horizontal > .label,
  form .form-field-horizontal > .input {
    width: 50%;
  }
  form .form-field-horizontal > .label {
    padding: 8px 0;
    margin-right: 10px;
    position: static;
    transform: none;
    pointer-events: auto;
    font-size: inherit;
  }
  form .form-field-horizontal > .input {
    margin-left: 10px;
    padding: 12px 16px;
  }
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
label {
  display: block;
}
legend {
  display: none;
}
textarea,
input,
.form-button-container a,
select {
  border-radius: 11px;
  box-sizing: border-box;
  font-size: 15px;
  padding: 9px 10px;
  width: 100%;
}
.nps-form-radio-group-container,
.star-form-radio-group-container,
.form-radio-group,
.form-checkbox,
.form-field {
  margin: 0 0 20px 0;
}
/* Einspaltiges Formular */
/* Zweispaltiges Formular */
.two-column-form select {
  width: 100%;
}
/* Text Input Feld */
/* Mehrzeiliges Textfeld*/
/* Checkbox und Radio Buttons */
[type='checkbox'] + label[for],
[type='radio'] + label[for] {
  cursor: pointer;
}
.form-radio-item,
.form-checkbox {
  margin: 0 0 5px;
}
.form-radio-item img {
  width: auto;
}
form input[type='checkbox']:checked,
form input[type='checkbox']:not(checked),
.form-checkbox input[type='checkbox']:checked,
.form-checkbox input[type='checkbox']:not(checked),
form input[type='radio']:checked,
form input[type='radio']:not(checked) {
  float: left;
  margin: 0;
  padding: 0;
  height: 0;
  width: 0;
  position: absolute;
  visibility: hidden;
  z-index: 0;
}
form input[type='checkbox']:not(checked) + label,
.form-checkbox input[type='checkbox']:not(checked) + label,
form input[type='radio']:not(checked) + label,
form input[type='checkbox']:checked + label,
.form-checkbox input[type='checkbox']:checked + label,
form input[type='radio']:checked + label {
  line-height: 24px; /* Match base line-height */
  margin: 0;
  padding: 0 0 0 30px;
  position: relative;
  display: inline-block;
  min-height: 24px; /* Ensure minimum height matches icon */
}
/* Icons für Radios und Checkboxes */
form input[type='radio']:checked + label:before,
form input[type='radio']:not(checked) + label:before,
form input[type='checkbox']:checked + label:before,
form input[type='checkbox']:not(checked) + label:before,
.form-checkbox input[type='checkbox']:checked + label:before,
.form-checkbox input[type='checkbox']:not(checked) + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%; /* Center vertically */
  transform: translateY(-50%); /* Center vertically */
  width: 20px;
  height: 20px;
  border: 1px solid var(--form-field-border);
  background-color: #ffffff;
  transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1); /* Smooth transition */
}

/* Radio Specifics */
form input[type='radio']:checked + label:before,
form input[type='radio']:not(checked) + label:before {
  border-radius: 50%;
}

form input[type='radio']:checked + label:before {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: inset 0 0 0 4px #ffffff, inset 0 0 0 10px var(--primary-color);
  transform: translateY(-50%) scale(1.1); /* Slight pulse on active */
}

/* Checkbox Specifics */
form input[type='checkbox']:checked + label:before,
form input[type='checkbox']:not(checked) + label:before,
.form-checkbox input[type='checkbox']:checked + label:before,
.form-checkbox input[type='checkbox']:not(checked) + label:before {
  border-radius: 4px;
}

form input[type='checkbox']:checked + label:before,
.form-checkbox input[type='checkbox']:checked + label:before {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff' width='18px' height='18px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 16px;
  transform: translateY(-50%) scale(1.05); /* Slight pop effect */
}

/* Validation Success State */
.form-field.has-value input:valid,
.form-field.has-value textarea:valid,
.form-field.has-value select:valid {
  border-color: #509e2f !important; /* DPD Dark Green / Info Green */
}

.form-field.has-value input:valid:focus,
.form-field.has-value textarea:valid:focus,
.form-field.has-value select:valid:focus {
  border-color: #509e2f !important;
  box-shadow: 0 0 0 1px #509e2f;
}
form input[type=range] {
  -webkit-appearance: none;
  border: 1px solid white;
  width: 100%;
  padding: 5px 0;
  margin: 0;
}
form input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 5px;
  background: #ffffff;
  border: 1px solid #dc0032;
  border-radius: 3px;
}
form input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  border: 1px solid #dc0032;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: #ffffff;
  margin-top: -10px;
}
form input[type=range]:focus {
  outline: none;
}
form input[type=range]:focus::-webkit-slider-runnable-track {
  background: #ffffff;
  border: 1px solid #dc0032;
}
form input[type=range]::-moz-range-track {
  width: 100%;
  height: 5px;
  background: #ffffff;
  border: 1px solid #dc0032;
  border-radius: 3px;
}
form input[type=range]::-moz-range-thumb {
  border: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  border: 1px solid #dc0032;
  background: #ffffff;
}
form input[type=range]:-moz-focusring {
  outline: none;
  outline-offset: 0;
}
form input[type=range]::-ms-track {
  width: 100%;
  height: 5px;
  background: transparent;
  border-color: transparent;
  border-width: 12px 0;
  color: transparent;
}
form input[type=range]::-ms-fill-lower {
  background: #ffffff;
  border-radius: 10px;
}
form input[type=range]::-ms-fill-upper {
  background: #ffffff;
  border-radius: 10px;
}
form input[type=range]::-ms-thumb {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  border: 1px solid #dc0032;
  background: #ffffff;
  transform: translate(0, 6px);
}
form input[type=range]:focus::-ms-fill-lower {
  background: #ffffff;
}
form input[type=range]:focus::-ms-fill-upper {
  background: #ffffff;
}
.is-ie form input[type=range]::-ms-thumb {
  transform: none;
}
/* Select Box / Dropdown */
select {
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  -ms-appearance: none;
  appearance: none;
  width: 100%;
  margin: 0 0 20px 0;
}
.form-select .select-wrapper {
  position: relative;
}
.form-select .select-wrapper .dropdown {
  font-family: 'master-template';
  font-weight: normal;
  font-style: normal;
  font-size: 16px;
  line-height: 24px;
  top: 9px;
  display: none;
  height: 24px;
  pointer-events: none;
  position: absolute;
  right: 15px;
  width: 16px;
  text-align: right;
  color: var(--form-field-border);
}
.form-select .select-wrapper select[size="1"] + .dropdown {
  display: block;
}
body.is-ie .form-select .select-wrapper select[size="1"] + .dropdown {
  display: none;
}
/* Trennlinie & Text in Formular */
form .content-element.text {
  margin: 0 0 5px;
}
form p {
  margin: 0;
}
form .divider,
.flex-slim .element form .divider {
  margin: 0 0 20px;
}
/* Radio Satisfaction Smiley Element */
.satisfaction *::selection {
  color: transparent;
  background-color: transparent;
}
.satisfaction .form-radio-item {
  float: left;
  position: relative;
  height: 80px;
}
.satisfaction .form-radio-item input[type='radio']:not(checked) + label,
.satisfaction .form-radio-item input[type='radio']:checked + label {
  height: 80px;
  width: 80px;
  color: transparent;
  padding: 0 30px 0 0;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.satisfaction .form-radio-item label::before {
  visibility: visible;
}
.satisfaction .form-radio-item input[type='radio'] + label::before {
  color: var(--form-field-border);
  font-size: 80px;
  line-height: 80px;
  height: 80px;
  width: 80px;
}
.satisfaction .form-radio-item input[value='happy'] + label::before {
  content: "\6c";
}
.satisfaction .form-radio-item input[value='neutral'] + label::before {
  content: "\6d";
}
.satisfaction .form-radio-item input[value='unhappy'] + label::before {
  content: "\6e";
}
.satisfaction .form-radio-item input[value='happy']:checked + label::before,
.satisfaction .form-radio-item input[value='happy'] + label:hover::before {
  color: #a6c160;
}
.satisfaction .form-radio-item input[value='neutral']:checked + label::before,
.satisfaction .form-radio-item input[value='neutral'] + label:hover::before {
  color: #fcca46;
}
.satisfaction .form-radio-item input[value='unhappy']:checked + label::before,
.satisfaction .form-radio-item input[value='unhappy'] + label:hover::before {
  color: #ec5036;
}
@media all and (max-width: 415px) {
  .satisfaction .form-radio-item {
    height: 60px;
  }
  .satisfaction .form-radio-item input[type='radio']:not(checked) + label,
  .satisfaction .form-radio-item input[type='radio']:checked + label {
    padding-right: 15px;
    width: 60px;
    height: 60px;
    font-size: 60px;
    line-height: 60px;
  }
  .satisfaction .form-radio-item input[type='radio']:not(checked) + label::before {
    background-size: 60px;
    width: 60px;
    height: 60px;
    font-size: 60px;
    line-height: 60px;
  }
}
/* Radio NPS Umfrage */
.form-radio-nps .form-radio-item {
  float: left;
  margin: 0 20px 5px 0;
  position: relative;
}
.form-radio-nps input[type='radio']:not(checked) + label {
  padding: 0 0 0 25px;
}
/* Bild in Formular */
form .content-element.image-wrapper {
  margin: 0 0 20px;
}
form .content-element.image-wrapper img {
  max-width: 100%;
  width: auto;
}
/* Buttons in Formular */
.form-button-container {
  float: left;
  margin: 0 15px 20px 0;
}
input[type='reset'] {
  background: none;
  border: 1px solid var(--form-field-border);
  color: var(--form-field-font-color);
}
input[type='reset'][disabled] {
  opacity: 0;
  visibility: hidden;
  cursor: not-allowed;
  pointer-events: none;
}
.form-button-container a {
  display: block;
}
.form-button-container a,
input[type='submit'],
input[type='reset'] {
  cursor: pointer;
  font-weight: 600;
  line-height: 33px;
  padding: 0 55px;
  text-transform: none;
  width: auto;
  border-radius: 11px;
}
input[type='submit'] {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid var(--primary-color);
    padding: 0 70px;
    line-height: 45px;
    font-size: 16px;
}
input[type='submit']:hover {
    background-color: #b00028;
    border-color: #b00028;
}
/* input.form-button[disabled] {
  display: none;
} */
@media all and (max-width: 415px) {
  .form-button-container {
    margin-right: 0;
    width: 100%;
    float: none;
    clear: both;
  }
  input[type='submit'],
  input[type='reset'] {
    padding: 0 16px;
    width: 100%;
  }
}
/* =============================================
	NPS Formular
=============================================== */
.nps-form .nps-form-radio-group-main-label,
.nps-form .nps-form-radio-group {
  margin-bottom: 5px;
}
.nps-form form input[type='radio']:checked,
.nps-form form input[type='radio']:not(checked) {
  position: absolute;
  width: 0;
  height: 0;
  display: block;
  z-index: 0;
}
.nps-form input[type='radio']:checked + label:before {
  content: '';
}
.nps-form input[type='radio']:not(checked) + label:before {
  content: '';
}
.nps-form .form-radio-nps .form-radio-item {
  margin-right: 0;
}
.nps-form .nps-form-radio-group {
  display: flex;
  flex-flow: nowrap;
}
.nps-form .nps-form-radio-item {
  flex-grow: 1;
}
.nps-form .nps-form-radio-item input[type='radio']:checked + label,
.nps-form .nps-form-radio-item input[type='radio']:not(checked) + label {
  display: block;
  text-align: center;
  padding: 9px 5px;
  margin: 0;
  box-sizing: border-box;
  border: 1px solid var(--form-field-border);
  border-left: none;
  color: var(--form-field-font-color);
}
.nps-form .nps-form-radio-item:first-child input[type='radio']:checked + label,
.nps-form .nps-form-radio-item:first-child input[type='radio']:not(checked) + label {
  border-left: 1px solid var(--form-field-border);
  border-radius: 4px 0 0 4px;
}
.nps-form .nps-form-radio-item:last-child input[type='radio']:checked + label,
.nps-form .nps-form-radio-item:last-child input[type='radio']:not(checked) + label {
  border-radius: 0 4px 4px 0;
}
.nps-form .nps-form-radio-item input[type='radio']:checked + label,
.nps-form .nps-form-radio-item input[type='radio']:focus + label,
.nps-form .nps-form-radio-item input[type='radio']:hover + label,
.nps-form .nps-form-radio-item input[type='radio'] + label:hover {
  background-color: var(--form-field-active-background);
  color: var(--form-field-active-font-color);
}
.nps-form .nps-form-radio-range-description {
  display: flex;
}
.nps-form .nps-form-radio-range-description label {
  flex-grow: 1;
}
.nps-form .nps-form-radio-range-description label.very-possible {
  text-align: right;
}
/* =============================================
	Star Formular
=============================================== */
.star-form-radio-group-main-label {
  margin-bottom: 5px;
}
.star-form-radio-group {
  display: inline-flex;
  flex-flow: nowrap;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: flex-end;
}
.star-form-radio-item input[type="radio"] + label,
.star-form-radio-item input[type="radio"]:checked + label {
  position: relative;
  padding: 0;
  margin-right: 8px;
  line-height: 40px;
  height: 40px;
  width: 40px;
  color: transparent;
}
.star-form-radio-item input[type="radio"] + label::before,
.star-form-radio-item input[type="radio"]:checked + label::before {
  font-family: 'master-template';
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  text-align: center;
  line-height: 40px;
  font-size: 40px;
  content: "\6a";
}
.star-form-radio-item:first-child input[type="radio"] + label {
  margin-right: 0;
}
.no-js .star-form-radio-group .star-form-radio-item input[type="radio"]:checked + label::before {
  content: "\6b";
}
.star-form-radio-group:not(:hover) .star-form-radio-item[data-form-radio-selected="true"] input[type="radio"]:checked + label::before,
.star-form-radio-group:not(:hover) .star-form-radio-item[data-form-radio-selected="true"] ~ .star-form-radio-item input[type="radio"] + label::before {
  content: "\6b";
}
.star-form-radio-group:hover .star-form-radio-item[data-form-radio-selected="true"]:hover input[type="radio"] + label::before,
.star-form-radio-group:hover .star-form-radio-item:hover input[type="radio"] + label::before,
.star-form-radio-group:hover .star-form-radio-item:hover ~ .star-form-radio-item input[type="radio"] + label::before {
  content: "\6b";
}
/* =============================================
	Formular Validierung
=============================================== */
.form-validation {
  margin: 0 0 20px 0;
}
.form-validation .form-validation-item {
  margin: 0 0 10px;
  color: #ff0000;
}
.form-validation .form-validation-item:empty {
  display: none;
}
.ce-dropzone .form-validation {
  display: none;
}
/* ============================================================= */
/*	New Form Elements Styles */
/* ============================================================= */

/* Required Field Indicator */
.required-label::after {
    content: '*';
    color: var(--primary-color);
    margin-left: 4px;
    font-weight: bold;
}

/* Switch Element */
.form-switch .form-radio-group {
    display: flex;
    background-color: #efedeb; /* Warm Grey 30% */
    border-radius: 11px;
    padding: 4px;
    width: fit-content;
    min-width: 200px;
    max-width: 100%;
    flex-wrap: wrap;
}

.form-switch .form-radio-item {
    margin: 0;
    flex: 1;
    display: flex;
    min-width: 100px;
}

.form-switch input[type="radio"] {
    display: none;
}

.form-switch label {
    display: block;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 7px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 600;
    color: var(--base-font-color);
    width: 100%;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Override default radio label styles for switch */
.form-switch input[type='radio']:not(checked) + label,
.form-switch input[type='radio']:checked + label {
    padding: 8px 16px;
    margin: 0;
    position: relative;
    display: block;
    line-height: 1.5;
}

/* Hide the default radio icons for switch */
.form-switch input[type='radio']:not(checked) + label:before,
.form-switch input[type='radio']:checked + label:before {
    content: none;
    display: none;
}

.form-switch input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Flatpickr DPD Theme Overrides */
.flatpickr-calendar {
    font-family: inherit;
    border-radius: 11px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, 
.flatpickr-day.startRange.prevMonthDay, 
.flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, 
.flatpickr-day.startRange.nextMonthDay, 
.flatpickr-day.endRange.nextMonthDay {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.flatpickr-day.today {
    border-color: var(--primary-color);
}
.flatpickr-day.today:hover {
    background: var(--primary-color);
    color: #fff;
}
.flatpickr-months .flatpickr-month {
    color: var(--base-font-color);
    fill: var(--base-font-color);
}
.flatpickr-current-month .flatpickr-monthDropdown-months {
    font-weight: bold;
}
.flatpickr-weekdays {
    background: transparent;
}
span.flatpickr-weekday {
    color: var(--base-font-color);
    font-weight: bold;
}

/* ============================================================= */
/*	FOOTER  */
/* ============================================================= */
.footer {
  font-size: 13px;
  font-weight: normal;
  line-height: 25px;
  margin: 0 auto;
  width: 100%;
}
.footer a:hover,
.footer a:focus {
  text-decoration: none;
}
.footer ol,
.footer ul {
  list-style: none;
  padding-left: 0;
}
.footer ul li {
  margin-bottom: 0;
  line-height: inherit;
}
.footer .element > * {
  margin-bottom: 20px;
}
.footer .element > *:last-child {
  margin-bottom: 0;
}
.footer-bottom {
  line-height: 24px;
  /*customized*/
  margin: 0 auto;
  /* 	max-width: var(--max-width);
 */
  position: relative;
  width: 100%;
  /*customized*/
}
.legal {
  padding: 0;
  margin: 0 0 0 20px;
}
.legal .element {
  margin: 0;
}
.legal p {
  margin: 0;
}
.footer-container {
  flex: 1 0;
  display: flex;
  flex-direction: column;
}
.footer-container > div:first-child {
  padding-top: 35px;
}
.footer-container > div:last-child {
  padding-bottom: 35px;
}
.footer-container > div > .row > .flex > div {
  margin: 0 20px 35px 0;
}
.footer-container .divider.element {
  margin-bottom: 35px;
  border-bottom-color: var(--footer-text-color);
}
.footer-container > div:last-child > .row > .flex > div {
  margin-bottom: 0;
}
.footer-container .footer-social {
  display: flex;
}
.footer-container .footer-social a {
  font-family: 'master-template';
  font-size: 24px;
  line-height: 24px;
  font-weight: normal;
  margin: 0 35px 0 0;
}
/* ============================================================= */
/*	BREAKPOINTS   */
/* ============================================================= */
@media all and (max-width: 1120px) {
  /* Header Bild */
}
@media all and (min-width: 800px) {
  .show-for-large {
    display: block;
  }
  .hide-for-large {
    display: none;
  }
  .hide-for-small {
    display: block;
  }
  /* Header Image */
  .header-desktop {
    display: block;
  }
  .header-mobile {
    display: none;
  }
  .element {
    flex: 1 0;
    -ms-flex: 1 0;
  }
  p,
  h4,
  h3,
  h2,
  h1 {
    max-width: 1120px;
    /* IE 10 FIX */
  }
  /* News */
  .flex.news-snippet > *:nth-child(1) {
    flex: 1 0;
  }
  .flex.news-snippet > *:nth-child(2) {
    flex: 2 0;
  }
  .news-image {
    margin-bottom: 20px;
  }
  /* Footer */
  .footer-bottom .text p a {
    margin: 0 30px 0 0;
  }
}
@media all and (max-width: 800px) {
  .header-desktop {
    display: none;
  }
  .header-mobile {
    display: block;
  }
  .element {
    flex: 100% 0;
    -ms-flex: 100% 0;
  }
  /* Formular */
  form .element {
    width: 100%;
  }
  /* News */
  .news-image {
    margin-bottom: 20px;
  }
  /* footer */
  .legal {
    padding: 0;
    margin: 0 20px 0 20px;
  }
  .footer-container > div > .row > .flex > div {
    margin: 0 20px 20px 0;
  }
  .footer-container .divider.element {
    margin-bottom: 20px;
  }
  .footer-container .footer-social {
    margin-right: 0;
  }
  .footer-container .footer-social a {
    margin: 0 20px 0 0;
  }
  .footer-container .footer-social a:last-child {
    margin-right: 0;
  }
  .footer-container > div:last-child > .row > .flex > div {
    margin-bottom: 20px;
  }
  .footer-container > div:last-child > .row > .flex > div:last-child {
    margin-bottom: 0;
  }
}
@media all and (max-width: 415px) {
  /* Überschriften */
  h1 {
    font-size: 40px;
    line-height: 50px;
  }
  h2 {
    font-size: 30px;
    line-height: 40px;
  }
  h3 {
    font-size: 20px;
    line-height: 27px;
  }
  .form-button-container.submit {
    float: none;
    margin: 0 15px 20px 0;
  }
}

/* ============================================================= */
/*	Hinweis-Banner   */
/* ============================================================= */
.element.hinweis-banner {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 0;
  margin: 20px auto;
  width: 100%;
  max-width: var(--max-width, 1160px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hinweis-banner .banner-content {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  min-height: 50px;
}

.hinweis-banner .banner-icon {
  flex-shrink: 0;
  color: #856404;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.hinweis-banner .banner-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.hinweis-banner .banner-text {
  flex: 1;
  color: #856404;
  font-size: 16px;
  line-height: 1.5;
}

/* Styled content inside formatted-text part */
.hinweis-banner .banner-text p {
  margin: 0;
  padding: 0;
}

.hinweis-banner .banner-text strong {
  font-weight: 600;
}

.hinweis-banner .banner-close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  color: #856404;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 36px;
  height: 36px;
  margin: -8px -8px -8px 0;
  position: relative;
  z-index: 10;
}

.hinweis-banner .banner-close svg {
  width: 20px;
  height: 20px;
  display: block;
  stroke-width: 2.5;
}

.hinweis-banner .banner-close:hover {
  background-color: rgba(133, 100, 4, 0.15);
  transform: scale(1.05);
}

.hinweis-banner .banner-close:active {
  transform: scale(0.95);
}

.hinweis-banner .banner-close:focus {
  outline: 2px solid #856404;
  outline-offset: 2px;
}

/* Banner Varianten */
.element.hinweis-banner.info {
  background-color: #d1ecf1;
  border-color: #17a2b8;
}

.element.hinweis-banner.info .banner-icon,
.element.hinweis-banner.info .banner-text,
.element.hinweis-banner.info .banner-close {
  color: #0c5460;
}

.element.hinweis-banner.success {
  background-color: #d4edda;
  border-color: #28a745;
}

.element.hinweis-banner.success .banner-icon,
.element.hinweis-banner.success .banner-text,
.element.hinweis-banner.success .banner-close {
  color: #155724;
}

.element.hinweis-banner.warning {
  background-color: #fff3cd;
  border-color: #ffc107;
}

.element.hinweis-banner.warning .banner-icon,
.element.hinweis-banner.warning .banner-text,
.element.hinweis-banner.warning .banner-close {
  color: #856404;
}

.element.hinweis-banner.danger {
  background-color: #f8d7da;
  border-color: #dc3545;
}

.element.hinweis-banner.danger .banner-icon,
.element.hinweis-banner.danger .banner-text,
.element.hinweis-banner.danger .banner-close {
  color: #721c24;
}

/* Responsive Design */
@media all and (max-width: 800px) {
  .element.hinweis-banner {
    margin: 15px auto;
    max-width: 100%;
  }
  
  .hinweis-banner .banner-content {
    gap: 10px;
    padding: 12px 15px;
    min-height: 44px;
  }
  
  .hinweis-banner .banner-text {
    font-size: 14px;
  }
  
  .hinweis-banner .banner-icon {
    width: 20px;
    height: 20px;
  }
  
  .hinweis-banner .banner-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .hinweis-banner .banner-close {
    width: 32px;
    height: 32px;
    padding: 6px;
    margin: -6px -6px -6px 0;
  }
  
  .hinweis-banner .banner-close svg {
    width: 18px;
    height: 18px;
  }
}

@media all and (max-width: 480px) {
  .hinweis-banner .banner-content {
    gap: 8px;
    padding: 10px 12px;
  }
  
  .hinweis-banner .banner-text {
    font-size: 13px;
  }
  
  .hinweis-banner .banner-close {
    width: 28px;
    height: 28px;
    padding: 4px;
    margin: -4px -4px -4px 0;
  }
  
  .hinweis-banner .banner-close svg {
    width: 16px;
    height: 16px;
  }
}


/* Conditional Block */
.conditional-block[hidden] { display: none !important; }
.conditional-block__config { display:none; }

/* Floating Labels */
.form-field {
    position: relative;
    margin-bottom: 20px;
}

.form-field .input,
.form-field .textarea {
    padding: 20px 10px 6px 10px; /* More padding top for label space */
    height: auto;
    width: 100%;
}

/* Hide placeholder always as we use floating labels */
.form-field .input::placeholder,
.form-field .textarea::placeholder {
    color: transparent;
}

.form-field .label {
    position: absolute;
    top: 12px;
    left: 10px;
    font-size: 15px;
    color: var(--form-field-font-color);
    transform-origin: top left;
    transition: transform 0.2s ease-out, color 0.2s ease-out;
    pointer-events: none;
    background-color: transparent;
    padding: 0 2px;
}

/* Move label up when input has focus or value (controlled by JS) */
.form-field.focused .label,
.form-field.has-value .label,
.form-field .input:focus + .label,
.form-field .textarea:focus + .label {
    transform: translate(0, -10px) scale(0.75);
    color: var(--primary-color);
    font-weight: 600;
}

/* Adjust required indicator for floating labels */
.form-field .label.required-label::after {
    font-size: 11px;
    vertical-align: top;
}

/* Switch Element */
.form-switch .form-radio-group {
    display: flex;
    background-color: #efedeb; /* Warm Grey 30% */
    border-radius: 11px;
    padding: 4px;
    width: fit-content;
    min-width: 200px;
    max-width: 100%;
    flex-wrap: wrap;
}

.form-switch .form-radio-item {
    margin: 0;
    flex: 1;
    display: flex;
    min-width: 100px;
}

.form-switch input[type="radio"] {
    display: none;
}

.form-switch label {
    display: block;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 7px;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    font-weight: 600;
    color: var(--base-font-color);
    width: 100%;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Override default radio label styles for switch */
.form-switch input[type='radio']:not(checked) + label,
.form-switch input[type='radio']:checked + label {
    padding: 8px 16px;
    margin: 0;
    position: relative;
    display: block;
    line-height: 1.5;
}

/* Hide the default radio icons for switch */
.form-switch input[type='radio']:not(checked) + label:before,
.form-switch input[type='radio']:checked + label:before {
    content: none;
    display: none;
}

.form-switch input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Disabled Button State */
.form-button[disabled],
.form-button:disabled {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: #ffffff !important;
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

/* File Upload Dropzone */
.form-file-upload {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: 11px;
    padding: 30px;
    text-align: center;
    background-color: #faf9f8; /* Warm Grey 10% */
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.form-file-upload:hover,
.form-file-upload.dragover {
    border-color: var(--primary-color);
    background-color: #ffffff;
}

.form-file-upload.has-file {
    border-style: solid;
    border-color: #509e2f; /* Info Green */
    background-color: #e1efe3; /* Light Green Tint */
}

.form-file-upload .file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.form-file-upload .icon {
    width: 48px;
    height: 48px;
    fill: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.form-file-upload:hover .icon,
.form-file-upload.dragover .icon {
    transform: scale(1.1);
}

.form-file-upload .text {
    font-size: 16px;
    font-weight: 600;
    color: var(--base-font-color);
    margin-bottom: 5px;
    pointer-events: none; /* Let clicks pass to input */
}

.form-file-upload .info {
    font-size: 13px;
    color: var(--secondary-color);
    pointer-events: none;
}

.form-file-upload .file-name {
    margin-top: 15px;
    font-weight: 600;
    color: #509e2f;
    word-break: break-all;
}

/* ============================================================= */
/*	Einzelfeld (Paketnummer-Eingabe mit progressivem Platzhalter) */
/* ============================================================= */

/* --- Full-width override --- */
.form-einzelfeld-container > .row > .flex > .element {
    margin: 0;  /* override base.css .element { margin: 0 20px } */
    flex: 1 1 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-einzelfeld-container .form-field.form-einzelfeld {
    width: 100%;
    box-sizing: border-box;
}

/* --- Floating-label deaktivieren — statisches Label stattdessen --- */
.form-field.form-einzelfeld .label {
    position: static;
    display: block;
    transform: none;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    padding: 0;
    pointer-events: auto;
    background: none;
}

/* Neutralisiere .focused/.has-value Transforms vom Floating-Label-System */
.form-field.form-einzelfeld.focused .label,
.form-field.form-einzelfeld.has-value .label {
    transform: none;
    font-size: 14px;
}

/* --- Wrapper: Icon + Input-Area + Button side by side --- */
.form-einzelfeld .einzelfeld-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}

/* --- Package Icon (absolute, vertically centered) --- */
.form-einzelfeld .einzelfeld-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-96%);
    width: 24px;
    height: 24px;
    color: #808285;
    z-index: 3;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-einzelfeld .einzelfeld-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* --- Input area: contains hint overlay + input --- */
.form-einzelfeld .einzelfeld-input-area {
    flex: 1;
    position: relative;
}

/* --- Input: symmetric padding, transparent background for hint --- */
.form-einzelfeld .input {
    position: relative;
    z-index: 2;
    padding: 12px 10px 12px 44px;
    background: transparent;
    border-radius: 11px;
    min-height: 46px;
    box-sizing: border-box;
    font-family: 'General Font', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 22px;
    transition: border-radius 0.3s ease;
}

/* Hide native placeholder when JS is active (progressive hint replaces it) */
.form-einzelfeld.js-enabled .input::placeholder {
    color: transparent !important;
}

/* Show placeholder as no-JS fallback */
.form-einzelfeld .input::placeholder {
    color: #808285 !important;
}

/* --- Progressive Placeholder Hint (absolute overlay, z-index 1) --- */
.form-einzelfeld .einzelfeld-hint {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 10px 12px 44px;
    font-family: 'General Font', Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 22px;
    pointer-events: none;
    z-index: 1;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
}

/* Typed portion: invisible but takes up exact pixel width */
.form-einzelfeld .hint-typed {
    visibility: hidden;
    white-space: pre;
}

/* Remaining portion: visible grey hint */
.form-einzelfeld .hint-remaining {
    color: #808285;
    white-space: pre;
    letter-spacing: 3px;
}

/* --- Input border-radius change when valid (button slides in) --- */
.form-einzelfeld.is-valid .input {
    border-radius: 11px 0 0 11px;
    border-right: none;
}

/* --- Submit Button: hidden by default, slides in when valid --- */
.form-einzelfeld .einzelfeld-submit {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-left: none;
    border-radius: 0 11px 11px 0;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    width: 0;
    min-height: 46px;
    box-sizing: border-box;
    overflow: hidden;
    transition: width 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

/* Button visible when valid */
.form-einzelfeld.is-valid .einzelfeld-submit {
    opacity: 1;
    width: 56px;
    padding: 0 16px;
}

/* Arrow Icon */
.form-einzelfeld .einzelfeld-submit svg {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    flex-shrink: 0;
}

/* Hover effect */
.form-einzelfeld .einzelfeld-submit:hover:not(:disabled) {
    background-color: #b00028;
    border-color: #b00028;
}

/* Focus state */
.form-einzelfeld .einzelfeld-submit:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* --- Border-color: override :valid/:invalid, only JS-controlled --- */
.form-field.form-einzelfeld .input:valid,
.form-field.form-einzelfeld .input:invalid,
.form-field.form-einzelfeld.has-value .input:valid,
.form-field.form-einzelfeld.has-value .input:invalid,
.form-field.form-einzelfeld.focused .input:valid,
.form-field.form-einzelfeld.focused .input:invalid {
    border-color: var(--form-field-border) !important;
    box-shadow: none !important;
}

.form-field.form-einzelfeld .input:focus,
.form-field.form-einzelfeld.has-value .input:focus {
    border-color: var(--form-field-active-background) !important;
    box-shadow: none !important;
}

/* Green border ONLY when JS confirms .is-valid */
.form-field.form-einzelfeld.is-valid .input,
.form-field.form-einzelfeld.is-valid.has-value .input:valid {
    border-color: #509e2f !important;
}

.form-field.form-einzelfeld.is-valid .input:focus,
.form-field.form-einzelfeld.is-valid.has-value .input:focus {
    border-color: #509e2f !important;
    box-shadow: 0 0 0 1px #509e2f;
}

/* --- Autofill protection: prevent Chrome from covering the hint --- */
.form-einzelfeld .input:-webkit-autofill,
.form-einzelfeld .input:-webkit-autofill:hover,
.form-einzelfeld .input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset;
    -webkit-text-fill-color: inherit;
    transition: background-color 5000s ease-in-out 0s;
}

/* --- Responsive (≤800px): horizontal layout, smaller paddings --- */
@media all and (max-width: 800px) {
    .form-einzelfeld-container > .row > .flex > .element {
        margin: 0 20px;
    }

    .form-einzelfeld .input {
        padding: 10px 8px 10px 40px;
        min-height: 44px;
    }

    .form-einzelfeld .einzelfeld-hint {
        padding: 10px 8px 10px 40px;
    }

    .form-einzelfeld .einzelfeld-icon {
        left: 10px;
    }

    .form-einzelfeld.is-valid .einzelfeld-submit {
        width: 48px;
        padding: 0 12px;
    }
}

/* ===========================================
   Cookie Banner
   =========================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-color); /* #dc0032 DPD Rot */
    color: #ffffff;
    padding: 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-banner-content {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

.cookie-banner-text p {
    margin: 0;
}

.cookie-banner-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.cookie-banner-text a:hover {
    text-decoration: none;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 11px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cookie-accept {
    background-color: #ffffff;
    color: var(--primary-color);
}

.cookie-accept:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
}

.cookie-reject {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.cookie-reject:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 800px) {
    .cookie-banner {
        padding: 16px;
    }

    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

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

    .cookie-banner-actions {
        justify-content: center;
    }

    .cookie-btn {
        flex: 1;
        max-width: 150px;
    }
}
