/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */

:root {
  --column-gap: 0%;
  --column-width-multiplier: 8.333;
  --stack-gap: 2rem;
  --button-stack-gap: 1rem;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.row-fluid > * + * {
  margin-top: var(--stack-gap);
}

.row-fluid > .dnd-module:has(.button-wrapper) + .dnd-module:has(.button-wrapper) {
  --stack-gap: var(--button-stack-gap);
}

.dnd-column > .row-fluid-wrapper:has(.button-wrapper) + .row-fluid-wrapper:has(.button-wrapper) {
  margin-top: var(--button-stack-gap);
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 990px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .row-fluid > * + * {
    margin-top: 0;
  }

  .dnd-column > .row-fluid-wrapper:has(.button-wrapper) + .row-fluid-wrapper:has(.button-wrapper) {
    margin-top: 0;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 767px) {
  .content-wrapper {
    padding: 0 1rem;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column,
.dnd-section > .row-fluid > .dnd-module {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column,
  .dnd-section > .row-fluid > .dnd-module {
    padding: 0;
  }
}

@media (max-width: 989px) {
  .dnd-column .dnd-row > .row-fluid > .dnd-column {
    padding: 0;
  }
}

@media (min-width: 990px) {
  .dnd-column .dnd-row > .row-fluid > .dnd-column:first-child {
    padding-left: 0;
  }

  .dnd-column .dnd-row > .row-fluid > .dnd-column:last-child {
    padding-right: 0;
  }
}

/* Sektionstrenner.

   Eine Sektion mit eigenem Hintergrund - Farbe, Bild oder Layer aus dem
   Editor - setzt sich oben und unten mit einer Linie in der Primaerfarbe ab,
   auf 40 % heruntergezogen, damit sie den Hintergrund nicht uebertoent.
   Jede andere Sektion bekommt nur unten eine dezente helle Linie.

   Nur im Seiteninhalt: Header und Footer haben eigene dnd-sections.

   Die beiden Regeln schliessen sich per :not([class*="-background"])
   gegenseitig aus. So entscheidet nicht die Reihenfolge im Stylesheet
   darueber, welche Linie unten gewinnt.

   Das :has() verhindert doppelte Linien: folgt auf eine normale Sektion eine
   mit Hintergrund, bringt diese ihre eigene obere Linie schon mit. */

#main-content .dnd-section[class*="-background"] {
  border-top: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-primary) 40%, transparent);
}

#main-content .dnd-section:not([class*="-background"]):not(:last-child):not(:has(+ [class*="-background"])) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* Basisfarbe auf html, damit Overscroll-Bounce (iOS) und der kurze Moment vor
   dem ersten Paint nicht weiss aufblitzen. */

html {
  background-color: #0B1116;
}

/* Mitlaufende Hintergrundebene: liegt viewportfest hinter allem und scrollt
   damit nicht weg. z-index: -1 malt ueber den Canvas-Hintergrund, aber unter
   jeden Inhalt im normalen Fluss.

   Zwei Voraussetzungen, die erhalten bleiben muessen:
   - body bekommt keine eigene background-color und wird kein Stacking-Context
     (kein transform, filter, opacity < 1, isolation) - sonst verschwindet die
     Ebene dahinter.
   - DnD-Sections bleiben transparent. Eine im Editor gesetzte Hintergrundfarbe
     deckt den Verlauf ab.

   Header (position: fixed, eigener Hintergrund) und Footer (eigener
   Hintergrund) liegen von sich aus darueber - der Verlauf ist also genau
   zwischen beiden sichtbar, ohne dass er dafuer beschnitten werden muss. */

:root {
  --page-background:
    radial-gradient(85% 115% at 12% 52%, rgba(64, 88, 105, 0.30) 0%, rgba(64, 88, 105, 0.00) 62%),
    linear-gradient(180deg, #0B1116 0%, #0E151B 46%, #06090C 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: var(--page-background);
}
/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0;

  &:not(:last-child) {
    margin-bottom: 1.25rem;
  }
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.25rem;
}

:where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
  text-wrap: balance;
}

@supports (hyphenate-limit-chars: 12 5 4) {
  :where(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
    hyphens: auto;
    hyphenate-limit-chars: 12 5 4;
  }
}

/* Lists */

ul,
ol {
  margin: 0 0 1.25rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid var(--color-accent);
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}

/* Eyebrow labels */

.eyebrow {
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: var(--font-weight-regular);
  letter-spacing: var(--letter-spacing);
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow + h1,
.eyebrow + h2,
.eyebrow + h3 {
  margin-top: 0;
}

p:has(> .eyebrow:only-child) {
  margin-bottom: 1rem;
}

p:has(> .eyebrow:only-child) + h1,
p:has(> .eyebrow:only-child) + h2,
p:has(> .eyebrow:only-child) + h3 {
  margin-top: 0;
}
/* button, */
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-background-dark);
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: var(--color-white);
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: var(--color-white);
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: var(--color-error);
}

.hs-input.invalid.error {
  border-color: var(--color-error);
}

.hs-error-msg {
  color: var(--color-error);
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


  /* Search button input field and suggestions */
  .body-container-wrapper .hs-search-field__button {
    padding: 15px;
  }

  .body-container-wrapper .hs-search-field__bar--button-inline .hs-search-field__button {
    margin-left: 6px;
    margin-bottom: 0;
  }

  .body-container-wrapper .hs-search-field__button svg {
    height: 15px;
    fill: var(--color-white);
  }

  .body-container-wrapper .hs-search-field__bar > form > .hs-search-field__input {
    padding: 10px;
  }

  .body-container-wrapper .hs-search-field__suggestions li a {
    color: var(--color-grey);
    padding: 0.35rem 0.7rem;
    text-decoration: none;
    transition: background-color 0.3s;
  }

/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* Header DND sections */

.header .dnd-section {
  padding: 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  transition: transform 0.3s ease-in-out;

  /* height: 60px; */
  z-index: 100;

  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header:has(.header__mobile--main.open) {
  box-shadow: none;
}

@media (max-width: 1199px) {
  .header--hidden {
    transform: translateY(-100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header {
    transition: none;
  }
}

.body-container-wrapper {
  padding-top: 70px;
}

html {
  scroll-padding-top: 70px;
}

@media (min-width: 1200px) {
  .header {
    height: 80px;
  }

  .header__navigation, 
  .header__meta {
    margin-top: -10px;
  }

  .body-container-wrapper {
    padding-top: 80px;
  }

  html {
    scroll-padding-top: 80px;
  }
}

/* Meta-Ebene */

:root {
  --header-meta-height: 40px;
}

.header__meta-bar {
  display: none;
}

@media (min-width: 1200px) {
  .header:has(.header__meta-bar) {
    height: calc(80px + var(--header-meta-height));
  }

  html:has(.header__meta-bar) {
    scroll-padding-top: calc(80px + var(--header-meta-height));
  }

  body:has(.header__meta-bar) .body-container-wrapper {
    padding-top: calc(80px + var(--header-meta-height));
  }

  .header__meta-bar {
    display: block;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__meta-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;

    height: var(--header-meta-height);
  }

  .header__meta-nav {
    min-width: 0;
  }

  .header__meta-bar .header__lang {
    flex: 0 0 auto;
  }
}


/* Header container */

.header__container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Navigation skipper */

.header__skip {
  height: 1px;
  left: -1000px;
  overflow: hidden;
  position: absolute;
  text-align: left;
  top: -1000px;
  width: 1px;
}

.header__skip:focus,
.header__skip:active {
  height: auto;
  left: 0;
  overflow: visible;
  top: 0;
  width: auto;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--border-radius) 0;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 4px;
  outline: 2px solid var(--color-white);
  outline-offset: -2px;
}

/* Logo */

.header__logo {
  position: relative;
  align-items: center;
  display: flex;
  height: auto;
  max-width: 160px;
  overflow: hidden;

  width: 100%;

  /* Position absolute Logo */
  height: 90px; 
}

.header__logo img {
  width: 100%;
  
  position: absolute;
  top: 0;
  left: 0;

  object-fit: contain;
  width: 100% !important;
  height: 100% !important;
}

.header__logo .logo-company-name {
  font-size: 1.167rem;
  margin-top: 0.7rem;
}

/* Header Button */

@media (max-width: 1199px) {
  .header__logo {
    height: 70px;
    max-width: 160px;
  }

  .header__button {
    display: none;
  }
}

/* Main Header Mobile */

.header__mobile {
  pointer-events: none;

  opacity: 0;

  transition: opacity .3s;

  background: var(--page-background);
  background-repeat: no-repeat;
  background-size: 100vw 100vh;
}

@media (min-width: 1200px) {
  .header__mobile {
    display: none;
  }
}

.header__mobile.open {
  pointer-events: auto;

  z-index: 4;

  opacity: 1;
}

.header__mobile.open .mega-menu-wrapper.active {
  display: block!important;
  pointer-events: auto;

  overflow-x: hidden;
  overflow-y: auto;

  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.header__mobile.open .mega-menu-wrapper.active.has-overflow:not(.is-at-bottom) {
  mask-image: linear-gradient(to bottom, #000 calc(100% - 56px), transparent 100%);
}

.header__mobile.open .main-header__mobile-buttons {
  opacity: 1;
}

.header__mobile.open.second .mega-menu-header {
  pointer-events: auto;
  opacity: 1;
}
.header__mobile.open.second .mega-menu-wrapper.active .sub-menu-text,
.header__mobile.open.second .mega-menu-wrapper.active li {
  transform: translateY(0);
  opacity: 1;
}
.header__mobile.second:not(.open) .mega-menu-wrapper.active .sub-menu-text,
.header__mobile.second:not(.open) .mega-menu-wrapper.active .sub-menu-heading,
.header__mobile.second:not(.open) .mega-menu-wrapper.active li {
  transform: translateY(-5px);
  opacity: 0;
  transition: none !important;
}


/* Hamburger // Header Toggle
   ---------------------------------------------------------------------------
   Projekt-Anpassung laeuft komplett ueber die Variablen in .hamburger-trigger:
   Groesse, Balkenstaerke, Abstand, Farben, Radius, Tempo. Am Markup muss dafuer
   nichts geaendert werden, und die Form bleibt in jeder Groesse zentriert.

   Animiert wird ausschliesslich ueber transform und opacity - das laeuft auf der
   GPU und loest kein Layout aus. Vorher wurden top/left der einzelnen Balken
   verschoben.

   Im Markup stecken zwei Buttons: der Burger im Header und ein zweiter im
   Overlay, das sich beim Oeffnen darueberlegt. Beide tragen .hamburger-trigger
   und werden hier gemeinsam gestylt. Vorher hatten sie unterschiedliche
   Balkenpositionen und lagen waehrend der 300 ms Einblendung des Overlays
   sichtbar uebereinander - das war das Haken beim Oeffnen. Jetzt zeigen beide
   in jedem Zustand dieselbe Form an derselben Stelle. */

.hamburger-trigger {
  /* --- Stellschrauben fuer Projekt-Anpassungen --- */
  --burger-size: 44px;       /* Klickflaeche; 44px ist die uebliche Touch-Mindestgroesse */
  --burger-bar-width: 22px;
  --burger-bar-height: 2px;
  --burger-bar-gap: 7px;     /* Abstand Mitte-zu-Mitte der aeusseren Balken */
  --burger-color: var(--color-white);
  --burger-background: transparent;
  --burger-border: 1px solid rgba(255, 255, 255, 0.25);
  --burger-radius: var(--border-radius);
  --burger-duration: 240ms;
  --burger-ease: cubic-bezier(0.4, 0, 0.2, 1);
  /* ---------------------------------------------- */

  position: absolute;
  top: 9px;
  right: 10px;
  z-index: 4;

  display: flex;
  align-items: center;
  justify-content: center;

  width: var(--burger-size);
  height: var(--burger-size);
  padding: 0;

  border: var(--burger-border);
  border-radius: var(--burger-radius);
  background: var(--burger-background);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;

  transition: background-color var(--burger-duration) var(--burger-ease);
}

.hamburger-trigger:focus-visible {
  outline: 2px solid var(--burger-color);
  outline-offset: 2px;
}

/* Bezugsrahmen fuer die absolut gesetzten Balken */
.hamburger-trigger .hamburger {
  position: relative;

  width: var(--burger-bar-width);
  height: var(--burger-bar-width);

  background: none;
}

.hamburger-trigger span {
  pointer-events: none;

  position: absolute;
  top: 50%;
  left: 50%;

  width: var(--burger-bar-width);
  height: var(--burger-bar-height);

  border-radius: var(--burger-bar-height);
  background: var(--burger-color);

  transition:
    transform var(--burger-duration) var(--burger-ease),
    opacity calc(var(--burger-duration) / 2) linear;
}

/* Geschlossen: drei Balken, aus der Mitte heraus versetzt */
.hamburger-trigger span:nth-child(1) {
  transform: translate(-50%, calc(-50% - var(--burger-bar-gap)));
}
.hamburger-trigger span:nth-child(2) {
  transform: translate(-50%, -50%);
}
.hamburger-trigger span:nth-child(3) {
  transform: translate(-50%, calc(-50% + var(--burger-bar-gap)));
}

/* Geoeffnet: die aeusseren Balken fahren in die Mitte und kreuzen sich, der
   mittlere blendet aus.

   Bewusst zwei getrennte Regelbloecke statt einer gemeinsamen Selektorliste:
   eine Liste wird komplett verworfen, sobald ein Selektor darin ungueltig ist.
   Kennt ein Browser :has() nicht, faellt so nur der Header-Burger aus - der
   Overlay-Button liegt ohnehin darueber und zeigt weiter das richtige Icon. */

/* Button im Overlay - ueber dessen eigene Klasse */
.header__mobile.open .header__mobile-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.header__mobile.open .header__mobile-close span:nth-child(2) {
  transform: translate(-50%, -50%) scaleX(0.4);
  opacity: 0;
}
.header__mobile.open .header__mobile-close span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Burger im Header - ueber den Zustand des Overlays weiter unten im DOM */
.header:has(.header__mobile--main.open) .main-header__mobile-open span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.header:has(.header__mobile--main.open) .main-header__mobile-open span:nth-child(2) {
  transform: translate(-50%, -50%) scaleX(0.4);
  opacity: 0;
}
.header:has(.header__mobile--main.open) .main-header__mobile-open span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* Der Button im Overlay: gleiche Optik, liegt nur hoeher im Stapel */
.header__mobile-close {
  z-index: 100;
}

@media (prefers-reduced-motion: reduce) {
  .hamburger-trigger,
  .hamburger-trigger span {
    transition: none;
  }
}

@media (min-width: 1200px) {

  .hamburger-trigger {
    display: none;
  }
}

/* Search bar */

.header__search {
  padding: 0 1rem;
  width: auto;
}



  .hs-search-field__form {
    position: relative;
  }

  .header__search .hs-search-field__label {
    flex-basis: auto;
  }



.header__search .hs-search-field__input {
  
  height: 45px;
  padding: 0 0.7rem;
}



  .header__search .hs-search-field__button {
    padding: 0;
    fill: var(--color-primary);
    background-color: transparent;
    border: none;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
  }

  .header__search .hs-search-field__button svg {
    height: 25px;
  }


.header__search .hs-search-field--open .hs-search-field__input {
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  max-width: 100%;
}

.header__search .hs-search-field--open .hs-search-field__suggestions {
  background-color: var(--color-white);
  border: 2px solid var(--color-accent);
  border-radius: 0 0 6px 6px;
  border-top-width: 1px;
  position: absolute;
  width: 100%;
  z-index: 10;
}

.header__search .hs-search-field__suggestions li {
  border-top: 1px solid var(--color-accent);
  font-size: 0.875rem;
}

.header__search .hs-search-field__suggestions li a {
  color: var(--color-grey);
  padding: 0.35rem 0.7rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.header__search .hs-search-field__suggestions #results-for {
  display: none;
}

@media (min-width: 1200px) {
  .header__search form {
    align-items: center;
    display: flex;
    flex-direction: row;
  }

  .header__search label {
    margin: 0 1rem 0 0;
  }

  .header__search .hs-search-field__input {
    width: auto;
  }
}

@media (max-width: 1199px) {
  .header__search {
    border-top: 2px solid var(--color-accent);
    order: 1;
    padding: 1.05rem;
  }
}

/* Mobile Header */

.header .second .main-nav-mobile .active .sub-menu-wrapper,
.header .second .main-nav-mobile .active .tabs-menu__list-wrapper,
.header .second .main-nav-mobile .active .tabs-menu__content.active {
  opacity: 1;
  visibility: visible;
  cursor: pointer;
}

/* .main-nav-mobile .sub-menu-wrapper.active > .sub-menu {
  display: block;
} */

.header .mega-menu-header {
  display: flex;
  pointer-events: none;

  width: 100%;
  padding: 0 1rem 0;

  position: absolute;
  z-index: 10;
  top: 100px;
  left: 0;

  opacity: 0;

  transition: opacity .6s;
}

.header .mega-menu-header__link {
  width: calc(100% - 2 * 48px);

  text-align: left;
}
.header .mega-menu-header__link a {
  font-weight: var(--font-weight-medium);
  color: var(--color-white);
  font-size: 20px;
  text-decoration: none;
}
.header .mega-menu-header__link a {
  display: inline-block;
}

/* Submenu Back */

.header .mobile-submenu-back {
  display: flex;
  align-items: center;

  padding: 0;

  border: none;
  background: transparent;
  cursor: pointer;
}

.header .mobile-submenu-back * {
  pointer-events: none;
}

.header .mobile-submenu-back__icon {
  display: inline-block;

  width: 24px;
  height: 24px;

  position: relative;
  margin-right: 24px;
}

.header .mobile-submenu-back__icon::after {
  content: '';

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 24px;
  height: 24px;

  background-color: white;

  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center center;
  mask-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M7.825 11L20 11L20 13L7.825 13L13.425 18.6L12 20L4 12L12 4L13.425 5.4L7.825 11Z" fill="%23FF3E41"/></svg>');
}

/* Language switcher */

.header__language-switcher {
  cursor: pointer;
  padding-right: 1.4rem;
}

.header__language-switcher .lang_switcher_class {
  position: static;
}

.header__language-switcher .lang_list_class {
  border: 2px solid;
  border-radius: 3px;
  box-shadow: 0 2px 9px 0 rgba(0, 0, 0, 0.2);
  display: block;
  left: calc(100% - 24px);
  opacity: 0;
  min-width: 100px;
  padding-top: 0;
  text-align: left;
  top: 100%;
  transition: opacity 0.3s;
  visibility: hidden;
}

.header__language-switcher:hover .lang_list_class,
.header__language-switcher:focus .lang_list_class {
  opacity: 1;
  transition: opacity 0.3s;
  visibility: visible;
}

.header__language-switcher .lang_list_class:before {
  left: 70%;
  top: -25px;
}

.header__language-switcher .lang_list_class:after {
  left: 70%;
  top: -22px;
}

.header__language-switcher .lang_list_class.first-active::after {
  top: -22px;
  transition: 0.3s;
}

.header__language-switcher .lang_list_class li {
  border: none;
  font-size: 18px;
  padding: 0.35rem 0.7rem;
}

.header__language-switcher .lang_list_class li:first-child {
  border-radius: 6px 6px 0 0;
  border-top: none;
}

.header__language-switcher .lang_list_class li:last-child {
  border-bottom: none;
  border-radius: 0 0 6px 6px;
}

.header__language-switcher .lang_list_class li:hover {
  transition: background-color 0.3s;
}

.header__language-switcher--label {
  display: flex;
  position: relative;
}

.header__language-switcher--label-current {
  align-items: center;
  display: flex;
  font-size: 0.75rem;
  margin-bottom: 0.175rem;
  margin-left: 0.7rem;
}

.header__language-switcher--label-current:after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--color-grey);
  content: "";
  display: block;
  height: 0px;
  margin-left: 0.7rem;
  margin-top: 0.175rem;
  width: 0px;
}

@media (max-width: 1199px) {
  .header__language-switcher {
    border-top: 2px solid var(--color-accent);
    padding-left: 1.05rem;
    padding-right: 0;
  }

  .header__language-switcher .lang_list_class {
    border: none;
    box-shadow: unset;
    display: block;
    left: 30px;
    opacity: 1;
    padding: 0 1.05rem;
    top: 0;
    visibility: visible;
  }

  .header__language-switcher .lang_list_class li {
    background-color: inherit;
    font-size: 0.917rem;
  }

  .header__language-switcher--label-current {
    display: none;
  }

  .header__language-switcher .globe_class {
    background-image: none;
  }

  .header__language-switcher .lang_list_class li:hover{
    background-color: inherit;
  }

  .header__language-switcher .lang_list_class:before,
  .header__language-switcher .lang_list_class:after {
    content: none;
  }
    /* V1 lang switcher updates to keep "in line" w/ v0 mobile styles */
    .header__language-switcher .hs-language-switcher__menu {
        display: block;
        box-shadow:none!important;
        background: transparent;
    }
    .header__language-switcher .hs-language-switcher__menu a {
        font-size: 20px!important;
    }
    .header__language-switcher .hs-language-switcher__button {
        display: none;
    }
  }

/* Navigation */

#nav-toggle {
  display: none;
}

/* Mobile toggles */

@media (max-width: 1199px) {
  .header__navigation,
  .header__search,
  .header__language-switcher {
    display: none;
    width: 100%;
  }

  .header__navigation.open,
  .header__search.open,
  .header__language-switcher.open {
    background-color: var(--color-background);
    display: block;
    left: 0;
    min-height: calc(100vh - 115px);
    position: absolute;
    right: 0;
    top: 75px;
    z-index: 2;
  }

  .header__navigation--toggle,
  .header__search--toggle,
  .header__language-switcher--toggle,
  .header__close--toggle {
    cursor: pointer;
    margin: 0 5vw;
    position: relative;
  }

  .header__navigation--toggle.hide,
  .header__search--toggle.hide,
  .header__language-switcher--toggle.hide {
    display: none;
  }

  .header__navigation--toggle.open,
  .header__search--toggle.open,
  .header__language-switcher--toggle.open {
    display: block;
    margin-left: 0;
    margin-right: auto;
  }

  .header__navigation--toggle:after,
  .header__search--toggle:after,
  .header__language-switcher--toggle:after {
    display: none;
    font-size: 1.083rem;
    font-weight: var(--font-weight-medium);
    position: absolute;
    left: 40px;
    text-transform: uppercase;
    top: -10px;
  }

  .header__navigation--toggle.open:after,
  .header__search--toggle.open:after,
  .header__language-switcher--toggle.open:after {
    display: block;
    word-break: normal;
  }

  .header__navigation--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5oYW1idXJnZXI8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGcgaWQ9ImhhbWJ1cmdlciIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+ICAgICAgICA8ZyBpZD0iR3JvdXAiIHN0cm9rZT0iIzQ5NEE1MiIgc3Ryb2tlLXdpZHRoPSIzIj4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIxLjUiIHk9IjEuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNCIgeD0iMS41IiB5PSI5LjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZS1Db3B5LTUiIHg9IjEuNSIgeT0iMTcuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgIDwvZz4gICAgPC9nPjwvc3ZnPg==);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__navigation--toggle:after {
    content: "Menu";
  }

  .header__language-switcher--toggle {
    background-image: url(//static.hsappstatic.net/cos-LanguageSwitcher/static-1.1/img/globe.png);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__language-switcher--toggle:after {
    content: "Language";
  }

  .header__search--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjI0cHgiIHZpZXdCb3g9IjAgMCAyNCAyNCIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5TZWFyY2g8L3RpdGxlPiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4gICAgPGRlZnM+ICAgICAgICA8cGF0aCBkPSJNOS4xMzg2MTUzNCwxNS44OTI1Njg1IEM1LjQxMzk1NzQyLDE1Ljg5MjU2ODUgMi4zODM4ODUyNywxMi44NjM0NDc1IDIuMzgzODg1MjcsOS4xMzkwMDM3NiBDMi4zODM4ODUyNyw1LjQxNDU2MDA1IDUuNDEzOTU3NDIsMi4zODM4ODUyNyA5LjEzODYxNTM0LDIuMzgzODg1MjcgQzEyLjg2MzI3MzMsMi4zODM4ODUyNyAxNS44OTI1Njg1LDUuNDE0NTYwMDUgMTUuODkyNTY4NSw5LjEzOTAwMzc2IEMxNS44OTI1Njg1LDEyLjg2MzQ0NzUgMTIuODYzMjczMywxNS44OTI1Njg1IDkuMTM4NjE1MzQsMTUuODkyNTY4NSBNOS4xMzg3NTI0NSwyLjQzMzYwODg3ZS0xMyBDMTQuMTc3OTk1NSwyLjQzMzYwODg3ZS0xMyAxOC4yNzY0NTM3LDQuMTAwMzI0NzEgMTguMjc2NDUzNyw5LjEzOTI3Nzk2IEMxOC4yNzY0NTM3LDExLjIyOTgyMTEgMTcuNTcxMDE2OSwxMy4xNTg0NDM0IDE2LjM4NTYzMTMsMTQuNjk5NjY5NiBMMjMuNjUwODg4MSwyMS45NjUyMjY2IEMyNC4xMTYzNzA2LDIyLjQzMDcwOTIgMjQuMTE2MzcwNiwyMy4xODU0MDU1IDIzLjY1MDg4ODEsMjMuNjUwODg4MSBDMjMuMTg1NDA1NSwyNC4xMTYzNzA2IDIyLjQzMDcwOTIsMjQuMTE2MzcwNiAyMS45NjUyMjY2LDIzLjY1MDg4ODEgTDE0LjY5OTgxMzMsMTYuMzg1NDcxMyBDMTMuMTU4NDQwNSwxNy41NzA5NTA5IDExLjIyOTU3MzgsMTguMjc2NDUzNyA5LjEzODc1MjQ1LDE4LjI3NjQ1MzcgQzQuMDk5NTA5MzgsMTguMjc2NDUzNyAtMy43MzAzNDkzNmUtMTQsMTQuMTc4MjMxMiAtMy43MzAzNDkzNmUtMTQsOS4xMzkyNzc5NiBDLTMuNzMwMzQ5MzZlLTE0LDQuMTAwMzI0NzEgNC4wOTk1MDkzOCwyLjQzMzYwODg3ZS0xMyA5LjEzODc1MjQ1LDIuNDMzNjA4ODdlLTEzIFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4gICAgPC9kZWZzPiAgICA8ZyBpZD0iU2VhcmNoIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4gICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4gICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICAgICAgPC9tYXNrPiAgICAgICAgPHVzZSBpZD0iSWNvbnMvQWN0aW9ucy9TZWFyY2giIGZpbGw9IiM0OTRBNTIiIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPiAgICA8L2c+PC9zdmc+);
    background-size: cover;
    height: 25px;
    width: 25px;
  }

  .header__search--toggle:after {
    content: "Search";
  }

  .header__close--toggle {
    background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIHdpZHRoPSIyNHB4IiBoZWlnaHQ9IjE5cHgiIHZpZXdCb3g9IjAgMCAyNCAxOSIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIj4gICAgICAgIDx0aXRsZT5jbG9zZTwvdGl0bGU+ICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPiAgICA8ZyBpZD0iY2xvc2UiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPiAgICAgICAgPGcgaWQ9Ikdyb3VwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyLjAwMDAwMCwgLTEuMDAwMDAwKSIgc3Ryb2tlPSIjNDk0QTUyIiBzdHJva2Utd2lkdGg9IjMiPiAgICAgICAgICAgIDxyZWN0IGlkPSJSZWN0YW5nbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwLjAwMDAwMCwgMTAuNTAwMDAwKSByb3RhdGUoLTQ1LjAwMDAwMCkgdHJhbnNsYXRlKC0xMC4wMDAwMDAsIC0xMC41MDAwMDApICIgeD0iLTAuNSIgeT0iMTAuNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjEiIHJ4PSIwLjUiPjwvcmVjdD4gICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlLUNvcHktNSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTAuMDAwMDAwLCAxMC41MDAwMDApIHJvdGF0ZSg0NS4wMDAwMDApIHRyYW5zbGF0ZSgtMTAuMDAwMDAwLCAtMTAuNTAwMDAwKSAiIHg9Ii0wLjUiIHk9IjEwLjUiIHdpZHRoPSIyMSIgaGVpZ2h0PSIxIiByeD0iMC41Ij48L3JlY3Q+ICAgICAgICA8L2c+ICAgIDwvZz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 110%;
    display: none;
    height: 25px;
    margin-right: 0;
    width: 25px;
  }

  .header__close--toggle.show {
    display: block;
  }
}

/* Landingpage Header */

.header--no-navigation {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header--no-navigation .header__container {
  gap: 1rem;
  height: 60px;
}

.header--no-navigation .header__logo {
  flex: 0 0 auto;
  width: 160px;
  max-width: 160px;
  height: 45px;
}

.header--no-navigation .header__logo img {
  object-position: left center;
}

.header--no-navigation .header__meta {
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
  align-items: center;
  gap: 1.5rem;
}

.header--no-navigation .header__lang {
  flex: 0 0 auto;
}

.header--no-navigation .header__button,
.header--no-navigation .header__button .button-wrapper {
  display: flex;
  align-items: center;
  min-width: 0;
}

.header--no-navigation .header__button .button {
  overflow: hidden;
  max-width: 100%;
  border: 1px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-primary);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header--no-navigation .header__button .button:hover,
.header--no-navigation .header__button .button:focus {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: var(--color-white);
}

@media (min-width: 1200px) {
  .header--no-navigation .header__container {
    height: 80px;
  }

  .header--no-navigation .header__meta {
    margin-top: 0;
  }
}

/* Sprachauswahl inline */

.header__lang {
  display: flex;
  align-items: center;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switch__item {
  display: flex;
  align-items: center;
  margin: 0;
}

.lang-switch__item + .lang-switch__item::before {
  content: "/";
  margin-top: 3px;
  margin-right: 0.5rem;
  opacity: 1;
}

.lang-switch__link {
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 1;
  letter-spacing: var(--letter-spacing);
  text-decoration: none;
  text-transform: uppercase;
}

.lang-switch__link--active {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

@media (max-width: 1199px) {
  .header--no-navigation .header__logo {
    width: 140px;
    height: 40px;
  }

  .header--no-navigation .header__meta {
    gap: 1rem;
  }

  .header--no-navigation .header__button .button {
    padding: 0.7rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.2;
  }
}

@media (max-width: 520px) {
  .header--no-navigation .header__container {
    gap: 0.75rem;
  }

  .header--no-navigation .header__logo {
    width: 110px;
    height: 32px;
  }

  .header--no-navigation .header__meta {
    gap: 0.75rem;
  }

  .header--no-navigation .header__button .button {
    padding: 0.6rem 0.75rem;
    font-size: 0.6875rem;
    letter-spacing: 0.5px;
  }

  .lang-switch__link {
    font-size: 12px;
    letter-spacing: 0.5px;
  }
}


/* Meta-Leiste, Meta-Links und CTA auf Mobilbreite */

@media (max-width: 1199px) {
  :root {
    --header-meta-height: 32px;
  }

  .header__meta-bar {
    display: block;

    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  :root:not(:has(.header__meta-bar .header__lang)) {
    --header-meta-height: 0px;
  }

  .header__meta-bar:not(:has(.header__lang)) {
    display: none;
  }

  .header__meta-bar .header__meta-nav {
    display: none;
  }

  .header__meta-bar-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    height: var(--header-meta-height);
  }

  .body-container-wrapper {
    padding-top: calc(70px + var(--header-meta-height));
  }

  html {
    scroll-padding-top: calc(70px + var(--header-meta-height));
  }

  .hamburger-trigger {
    top: calc(var(--header-meta-height) + (70px - var(--burger-size)) / 2);
  }

  .header .mega-menu-header {
    top: calc(var(--header-meta-height) + 100px);
  }

  .header__mobile--main {
    display: flex;
    flex-direction: column;

    background-position: 0 calc(-1 * (70px + var(--header-meta-height)));

    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header__mobile--main .main-nav-mobile {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
  }

  .header__mobile-meta {
    flex: 0 0 auto;

    padding: 1.5rem 18px 0;
  }

  .header__mobile-meta .meta-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .header__mobile-meta .meta-nav__link {
    color: rgba(255, 255, 255, 0.7);
  }

  .header__mobile-cta {
    flex: 0 0 auto;

    padding: 1.75rem 18px 2rem;
  }

  .header__mobile-cta .button-wrapper {
    display: block;
  }

  .header__mobile-cta .button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
  }
}

@media (max-width: 1199px) {
  .header__mobile--main:not(.open) {
    height: 0;
    overflow: hidden;
  }
}
/* Footer Landingpage */

.footer--landing-page .footer__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.footer--landing-page .footer__logo {
  display: flex;
  align-items: center;
  max-width: 200px;
}

.footer--landing-page .footer__logo img {
  height: auto;
  max-width: 100%;
}

.footer--landing-page .footer__navigation .hs-menu-wrapper ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer--landing-page .footer__navigation .hs-menu-wrapper .hs-menu-item a {
  display: inline-block;
  font-size: 0.9rem;
  padding: 0;
}

@media screen and (max-width: 767px) {
  .footer--landing-page .footer__container {
    flex-direction: column;
    align-items: flex-start;
  }
}
.hsfc-FormWrapper {
  width: 100%;
  background: none;
  padding: 0;
}

.hs-form,
.hsfc-Form,
.submitted-message {
  --form-surface: rgba(255, 255, 255, 0.02);
  --form-border: rgba(255, 255, 255, 0.1);
  --form-field-background: transparent;
  --form-field-border: color-mix(in srgb, var(--form-text) 20%, transparent);
  --form-dropdown-background: #0E151B;
  --form-check-border: var(--color-primary-light);
  --form-flag-nudge: -7px;
  --form-field-radius: 4px;
  --form-text: var(--color-white);
  --form-muted: rgba(255, 255, 255, 0.65);
  --form-placeholder: rgba(255, 255, 255, 0.45);
  --form-button-text: var(--color-background);
  --form-gap: 1rem;

  color-scheme: dark;
  width: 100%;
  max-width: 100%;
  padding: 1.5rem !important;
  border: 1px solid var(--form-border) !important;
  border-radius: var(--border-radius) !important;
  background-color: var(--form-surface) !important;
  color: var(--form-text);
}

@media (min-width: 768px) {
  .hs-form,
  .hsfc-Form,
  .submitted-message {
    padding: 2.5rem !important;
  }
}

/* Zeilen und Spalten */

.hs-form fieldset {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  column-gap: var(--form-gap);
  max-width: 100% !important;
  margin: 0;
  padding: 0;
  border: 0;
}

.hsfc-Form .hsfc-Step__Content {
  display: flex;
  flex-direction: column;
  gap: var(--form-gap);
}

.hsfc-Form .hsfc-Row {
  display: flex;
  flex-direction: column;
  gap: var(--form-gap);
}

.hsfc-Form .hsfc-DataPrivacyField {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hs-form fieldset.form-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hs-form fieldset.form-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hsfc-Form .hsfc-Row {
    flex-direction: row;
  }

  .hsfc-Form .hsfc-Row > * {
    flex: 1 1 0;
    min-width: 0;
  }

  .hsfc-Form .hsfc-DataPrivacyField .hsfc-Row {
    flex-direction: column;
  }
}

.hs-form .hs-form-field {
  width: 100% !important;
  float: none !important;
  margin-bottom: var(--form-gap);
}

.hs-form .hs-form-field > .input,
.hs-form .input {
  margin: 0 !important;
  padding: 0 !important;
}

/* Labels */

.hs-form label,
.hsfc-Form .hsfc-FieldLabel {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-family-heading);
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  color: var(--form-text) !important;
}

.hs-form .hs-form-required,
.hsfc-Form .hsfc-FieldLabel__RequiredIndicator {
  color: inherit !important;
}

/* Eingabefelder */

.hs-form .hs-input:not([type=checkbox]):not([type=radio]):not([type=file]),
.hs-form select,
.hs-form textarea,
.hsfc-Form .hsfc-TextInput,
.hsfc-Form .hsfc-TextareaInput,
.hsfc-Form select,
.hsfc-Form textarea {
  display: block;
  width: 100% !important;
  padding: 0.85rem 1rem !important;
  border: 1px solid var(--form-field-border) !important;
  border-radius: var(--form-field-radius) !important;
  background-color: var(--form-field-background) !important;
  background-clip: padding-box;
  box-shadow: none;
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-light);
  font-size: 16px;
  line-height: 1.5;
  color: var(--form-text) !important;
  transition: border-color 0.15s linear, box-shadow 0.15s linear;
}

.hs-form .hs-input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,
.hs-form select:focus,
.hs-form textarea:focus,
.hsfc-Form .hsfc-TextInput:focus,
.hsfc-Form .hsfc-TextareaInput:focus,
.hsfc-Form select:focus,
.hsfc-Form textarea:focus {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.hs-form .hs-input:not([type=checkbox]):not([type=radio]):not([type=file]):focus-visible,
.hs-form select:focus-visible,
.hs-form textarea:focus-visible,
.hsfc-Form .hsfc-TextInput:focus-visible,
.hsfc-Form .hsfc-TextareaInput:focus-visible,
.hsfc-Form select:focus-visible,
.hsfc-Form textarea:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.hs-form ::placeholder,
.hsfc-Form ::placeholder {
  color: var(--form-placeholder) !important;
  opacity: 1;
}

.hs-form textarea,
.hsfc-Form .hsfc-TextareaInput,
.hsfc-Form textarea {
  min-height: 160px;
  resize: vertical;
}

.hs-form select,
.hsfc-Form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7.5' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.25l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 14px;
}

.hs-form select option,
.hsfc-Form select option {
  background-color: var(--form-dropdown-background);
  color: var(--form-text);
}

.hs-form .hs-dateinput:before {
  display: none;
}

.hs-form input[type=date]::-webkit-calendar-picker-indicator,
.hsfc-Form input[type=date]::-webkit-calendar-picker-indicator {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3.5' width='12' height='11' rx='1.5'/%3E%3Cpath d='M2 7h12M5.5 1.5v3M10.5 1.5v3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  opacity: 0.6;
  cursor: pointer;
}

.hs-form input[type=date]::-webkit-calendar-picker-indicator:hover,
.hsfc-Form input[type=date]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Checkboxen und Radios */

.hs-form .inputs-list {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}

.hs-form .inputs-list > li {
  margin: 0 0 0.75rem !important;
  padding: 0 !important;
}

.hs-form .inputs-list > li:last-child {
  margin-bottom: 0 !important;
}

.hs-form .inputs-list label,
.hs-form .hs-form-booleancheckbox-display,
.hsfc-Form .hsfc-CheckboxField .hsfc-FieldLabel,
.hsfc-Form .hsfc-BooleanField .hsfc-FieldLabel {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0;
  font-family: var(--font-family-body);
  font-size: 18px;
  font-weight: var(--font-weight-light);
  line-height: 1.5;
  color: var(--color-primary-light) !important;
  cursor: pointer;
}

.hs-form .legal-consent-container .hs-form-booleancheckbox-display > span,
.hs-form .legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 0 !important;
}

.hs-form .inputs-list label p,
.hsfc-Form .hsfc-CheckboxField .hsfc-FieldLabel p {
  margin: 0;
  font-size: inherit;
  color: inherit;
}

.hs-form input[type=checkbox],
.hs-form input[type=radio],
.hs-form .hs-input[type=checkbox],
.hs-form .hs-input[type=radio],
.hsfc-Form input[type=checkbox],
.hsfc-Form input[type=radio] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  font-size: inherit;
  box-sizing: border-box;
  width: 18px !important;
  min-width: 18px;
  height: 18px !important;
  padding: 0 !important;
  margin: calc((1.5em - 18px) / 2) 0 0 !important;
  border: 1px solid var(--form-check-border);
  border-radius: 3px;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: background-color 0.15s linear, border-color 0.15s linear;
}

.hs-form input[type=radio],
.hsfc-Form input[type=radio] {
  border-radius: 50%;
}

.hs-form input[type=checkbox]:checked,
.hsfc-Form input[type=checkbox]:checked {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230B1116' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.5 3.5L13 5'/%3E%3C/svg%3E");
  background-size: 12px;
}

.hs-form input[type=radio]:checked,
.hsfc-Form input[type=radio]:checked {
  border-color: var(--color-primary);
  background-image: radial-gradient(circle, var(--color-primary) 0 42%, transparent 44%);
}

.hs-form input[type=checkbox]:focus-visible,
.hs-form input[type=radio]:focus-visible,
.hsfc-Form input[type=checkbox]:focus-visible,
.hsfc-Form input[type=radio]:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

/* Ueberschrift und Fliesstext */

.hsfc-Form .hsfc-Heading {
  margin: 0;
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--form-text);
}

.hs-form .hs-richtext,
.hs-form .hs-richtext p,
.hsfc-Form .hsfc-RichText,
.hsfc-Form .hsfc-RichText p {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--form-muted);
}

.hs-form .hs-richtext:last-child,
.hs-form .hs-richtext p:last-child,
.hsfc-Form .hsfc-RichText:last-child,
.hsfc-Form .hsfc-RichText p:last-child {
  margin-bottom: 0;
}

.hs-form .hs-richtext a,
.hsfc-Form .hsfc-RichText a {
  color: var(--color-primary);
  text-decoration: none;
}

.hs-form .hs-richtext a:hover,
.hs-form .hs-richtext a:focus,
.hsfc-Form .hsfc-RichText a:hover,
.hsfc-Form .hsfc-RichText a:focus {
  text-decoration: underline;
}

.hs-form .legal-consent-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hs-form .legal-consent-container .hs-form-field {
  margin-bottom: 0;
}

.hs-form legend,
.hsfc-Form .hsfc-FieldDescription {
  font-size: 0.8125rem;
  color: var(--form-muted);
}

/* Absenden */

.hs-form .hs-submit {
  margin-top: 0.5rem;
}

.hs-form .hs-submit .actions {
  margin: 0;
  padding: 0;
}

.hsfc-Form .hsfc-NavigationRow {
  margin-top: 0.5rem;
}

.hsfc-Form .hsfc-NavigationRow__Buttons {
  display: block;
}

.hs-form input[type=submit],
.hs-form .hs-button,
.hsfc-Form .hsfc-Button {
  display: block;
  width: 100%;
  padding: 15px 28px !important;
  border: 0 !important;
  border-radius: var(--border-radius) !important;
  background-color: var(--color-primary) !important;
  font-family: var(--font-family-heading);
  font-size: 14px;
  font-weight: var(--font-weight-medium);
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  color: var(--form-button-text) !important;
  cursor: pointer;
  transition: background-color 0.15s linear;
}

.hs-form input[type=submit]:hover,
.hs-form input[type=submit]:focus,
.hs-form .hs-button:hover,
.hs-form .hs-button:focus,
.hsfc-Form .hsfc-Button:hover,
.hsfc-Form .hsfc-Button:focus {
  background-color: color-mix(in srgb, var(--color-primary) 85%, var(--color-white)) !important;
  color: var(--form-button-text) !important;
}

.hs-form input[type=submit]:disabled,
.hsfc-Form .hsfc-Button:disabled,
.hsfc-Form .hsfc-Button[aria-busy=true] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Validierung */

.hs-form .hs-error-msg,
.hs-form .hs-error-msgs label,
.hsfc-Form .hsfc-ErrorAlert,
.hsfc-Form .hsfc-NavigationRow__Alerts {
  margin-top: 0.4rem;
  font-family: var(--font-family-body);
  font-size: 0.8125rem;
  font-weight: var(--font-weight-regular);
  color: var(--color-error) !important;
}

.hs-form .hs-error-msgs {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hs-form .hs-error-msgs > li {
  margin: 0;
}

.hs-form .hs-input.invalid.error,
.hsfc-Form .hsfc-TextInput[aria-invalid=true],
.hsfc-Form .hsfc-TextareaInput[aria-invalid=true] {
  border-color: var(--color-error) !important;
}

/* Dropdown und Telefonfeld (Forms 2.0) */

.hsfc-Form .hsfc-DropdownInput,
.hsfc-Form .hsfc-PhoneInput {
  position: relative;
}

.hsfc-Form .hsfc-TextInput--button {
  padding-right: 2.75rem !important;
  cursor: pointer;
}

.hsfc-Form .hsfc-DropdownInput__Caret {
  position: absolute;
  top: 0;
  right: 1rem;
  bottom: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hsfc-Form .hsfc-DropdownInput__Caret > span,
.hsfc-Form .hsfc-PhoneInput__FlagAndCaret__Caret {
  display: block !important;
  flex: 0 0 auto;
  width: 14px !important;
  height: 14px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transform: none !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7.5' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.25l5 5 5-5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
}

.hsfc-Form .hsfc-DropdownOptions {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  z-index: 20;
  margin-top: 0.25rem;
  padding: 0.5rem;
  border: 1px solid var(--form-field-border) !important;
  border-radius: var(--form-field-radius) !important;
  background-color: var(--form-dropdown-background) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.hsfc-Form .hsfc-DropdownOptions__Search {
  padding: 0 0 0.5rem;
  background: none !important;
}

.hsfc-Form .hsfc-DropdownOptions__List {
  max-height: 16rem;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  background: none !important;
}

.hsfc-Form .hsfc-DropdownOptions__List__ListItem {
  margin: 0;
  padding: 0.6rem 0.75rem;
  border-radius: var(--form-field-radius);
  font-family: var(--font-family-body);
  font-size: 16px;
  font-weight: var(--font-weight-light);
  color: var(--form-text) !important;
  background-color: transparent !important;
  cursor: pointer;
}

.hsfc-Form .hsfc-DropdownOptions__List__ListItem:hover,
.hsfc-Form .hsfc-DropdownOptions__List__ListItem:focus,
.hsfc-Form .hsfc-DropdownOptions__List__ListItem--selected {
  outline: none;
  color: var(--color-white) !important;
  background-color: color-mix(in srgb, var(--color-primary) 18%, transparent) !important;
}

.hsfc-Form .hsfc-PhoneInput {
  display: flex !important;
  align-items: stretch !important;
  gap: 0.5rem !important;
}

.hsfc-Form .hsfc-PhoneInput .hsfc-TextInput {
  flex: 1 1 auto;
  min-width: 0;
}

.hsfc-Form .hsfc-PhoneInput__FlagAndCaret {
  display: flex !important;
  flex: 0 0 auto;
  align-self: stretch;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  padding: 0 0.75rem !important;
  line-height: 1;
  border: 1px solid var(--form-field-border) !important;
  border-radius: var(--form-field-radius) !important;
  background-color: var(--form-field-background) !important;
  color: var(--form-text) !important;
  cursor: pointer;
}

.hsfc-Form .hsfc-PhoneInput__FlagAndCaret:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.hsfc-Form .hsfc-PhoneInput__FlagAndCaret__Flag {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: var(--form-flag-nudge) 0 0 !important;
  padding: 0 !important;
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", var(--font-family-body);
  font-size: 22px;
  font-weight: var(--font-weight-regular);
  line-height: 1;
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

.hs_cos_wrapper_type_inline_rich_text > *:last-child {
  margin-bottom: 0;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}

/* Bewusst nicht global geladen
Swiper (vendor/swiper.css + components/swiper-styles.css) und GLightbox
(vendor/glightbox.css) lagen frueher hier und damit auf jeder Seite - rund
29 KB, die ohne Karussell oder Galerie nichts tun. Beides fordert jetzt das
Modul an, das es braucht, per require_css in seiner module.html.

Wer ein eigenes Modul mit Swiper baut, muss die beiden Zeilen selbst setzen -
Vorlage steht in modules/gallery-carousel.module/module.html.
*/