:root {
  --color-dark: #102728;
  --color-light: #ffffff;
  --color-primary: #05366C;
  --color-secondary: #9ADCF6;
  --color-accent-primary: #8A249E;
  --color-accent-secondary: #9ADCF6;
  --color-tertiary: #05366C;
  --color-transparent: rgba(0, 0, 0, 0);
  --color-neutral-60: #6B7677;
  --color-neutral-40: #9CA3A4;
  --color-neutral-20: #CDD2D2;
  --color-neutral-10: #F3F4F4;
  --space-xs: clamp(0.1rem, 0.09rem + 0.04vw, 0.125rem);
  --space-s: clamp(0.1875rem, 0.17rem + 0.10vw, 0.25rem);
  --space-m: clamp(0.375rem, 0.33rem + 0.20vw, 0.5rem);
  --space-l: clamp(0.75rem, 0.67rem + 0.39vw, 1rem);
  --space-xl: clamp(1.25rem, 1.17rem + 0.39vw, 1.5rem);
  --space-2xl: clamp(1.625rem, 1.50rem + 0.59vw, 2rem);
  --space-3xl: clamp(2rem, 1.14rem + 1.72vw, 3rem);
  --space-4xl: clamp(2.5rem, 2.84rem + 0.78vw, 3.5rem);
  --space-5xl: clamp(3rem, 1.71rem + 2.59vw, 4.5rem);
  --space-6xl: clamp(4rem, 2.28rem + 3.45vw, 6rem);
  --space-7xl: clamp(5rem, 2.41rem + 5.17vw, 8rem);
  --space-s-2xl: clamp(0.25rem, -0.32rem + 2.75vw, 2rem);
  --space-l-2xl: clamp(1rem, 0.68rem + 1.57vw, 2rem);
  --space-2xl-4xl: clamp(2rem, 1.51rem + 2.35vw, 3.5rem);
  --gutter: var(--space-l-2xl);
  --grid-gutter: var(--space-l-2xl);
  --heading-xs: clamp(0.75rem, 0.71rem + 0.20vw, 0.875rem);
  --heading-s: clamp(0.8125rem, 0.75rem + 0.29vw, 1rem);
  --heading-m: clamp(1rem, 0.92rem + 0.39vw, 1.25rem);
  --heading-l: clamp(1.25rem, 1.17rem + 0.39vw, 1.5rem);
  --heading-xl: clamp(1.375rem, 1.25rem + 0.59vw, 1.75rem);
  --heading-2xl: clamp(1.625rem, 1.50rem + 0.59vw, 2rem);
  --heading-3xl: clamp(1.75rem, 1.10rem + 1.29vw, 2.5rem);
  --heading-4xl: clamp(2.5rem, 2.34rem + 0.78vw, 3rem);
  --heading-5xl: clamp(2rem, 0.97rem + 2.80vw, 4rem);
  --body-xs: clamp(0.625rem, 0.58rem + 0.20vw, 0.75rem);
  --body-s: clamp(0.875rem, 0.77rem + 0.22vw, 1rem);
  --body-m: clamp(1.125rem, 0.68rem + 0.65vw, 1.375rem);
  --body-l: clamp(1.25rem, 0.35rem + 1.29vw, 1.75rem);
  --body-xl: clamp(1.5rem, 0.85rem + 1.29vw, 2.25rem);
  --btn-s: clamp(0.75rem, 0.71rem + 0.20vw, 0.875rem);
  --btn: clamp(1rem, 0.96rem + 0.20vw, 1.125rem);
  --leading-micro: 0.85;
  --leading-flat: 1;
  --leading-fine: 1.125;
  --leading-standard: 1.25;
  --leading-loose: 1.45;
  --font-base: HelveticaNeueLTW, Helvetica Neue, Arial, sans-serif;
  --font-mono: DM Mono, monospace;
  --font-regular: 400;
  --font-medium: 500;
  --font-bold: 700;
  --corner-s: 4px;
  --corner-m: 8px;
  --corner-l: 16px;
  --corner-xl: 24px;
  --transition-base: 250ms ease;
  --transition-movement: 200ms linear;
  --transition-fade: 300ms ease;
  --transition-bounce: 500ms cubic-bezier(0.5, 0.05, 0.2, 1.5);
  --stroke-width: 1px;
  --stroke-solid: var(--stroke-width) solid var(--color-neutral-40);
  --radius-s: 0.25rem;
  --radius-m: 0.5rem;
  --radius-l: 1rem;
  --radius-xl: 1.5rem;
  --uppercase-kerning: 0.04ch;
  --wrapper-max-width: 1184px;
  --grid-width: 1120px;
  --max-container-width: 1728px;
}
@font-face {
  font-family: 'HelveticaNeueLTW05';
  src: url('HelveticaNeueLTW05-55Roman.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'HelveticaNeueLTW05';
  src: url('HelveticaNeueLTW05-65Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'HelveticaNeueLTW05';
  src: url('HelveticaNeueLTW05-75Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'HelveticaRounded';
  src: url('HelveticaRoundedLTW05-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}
/* https://piccalil.li/blog/a-modern-css-reset */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}
/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}
/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}
/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}
/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}
/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}
/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}
/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}
/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}
/*
CLUSTER
More info: https://every-layout.dev/layouts/cluster/
A layout that lets you distribute items with consitent
spacing, regardless of their size

CUSTOM PROPERTIES AND CONFIGURATION
--gutter (var(--space-m)): This defines the space
between each item.

--cluster-horizontal-alignment (flex-start) How items should align
horizontally. Can be any acceptable flexbox aligmnent value.

--cluster-vertical-alignment How items should align vertically.
Can be any acceptable flexbox alignment value.
*/
.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter, var(--space-m));
  justify-content: var(--cluster-horizontal-alignment, flex-start);
  align-items: var(--cluster-vertical-alignment, center);
}
/* 
FLOW COMPOSITION 
Like the Every Layout stack: https://every-layout.dev/layouts/stack/
Info about this implementation: https://piccalil.li/blog/my-favourite-3-lines-of-css/ 
*/
.flow>*+* {
  margin-block-start: var(--flow-space, 1em);
}
/* AUTO GRID
Related Every Layout: https://every-layout.dev/layouts/grid/
More info on the flexible nature: https://piccalil.li/tutorial/create-a-responsive-grid-layout-with-no-media-queries-using-css-grid/
A flexible layout that will create an auto-fill grid with
configurable grid item sizes

CUSTOM PROPERTIES AND CONFIGURATION
--gutter (var(--space-m)): This defines the space
between each item.

--grid-min-item-size (14rem): How large each item should be
ideally, as a minimum.

--grid-placement (auto-fill): Set either auto-fit or auto-fill
to change how empty grid tracks are handled */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-placement, auto-fill),
      minmax(var(--grid-min-item-size, 16rem), 1fr));
  gap: var(--gutter, var(--space-l));
}
/* A split 50/50 layout */
.grid[data-layout='50-50'] {
  --grid-placement: auto-fit;
  --grid-min-item-size: clamp(16rem, 50vw, 33rem);
}
/* Three column grid layout */
.grid[data-layout='thirds'] {
  --grid-placement: auto-fit;
  --grid-min-item-size: clamp(16rem, 33%, 20rem);
}
/* 
REGION UTILITY
Consistent block padding for page sections
*/
.region {
  padding-block: var(--region-space, var(--space-7xl));
  position: relative;
}
/*
REPEL
A little layout that pushes items away from each other where
there is space in the viewport and stacks on small viewports

CUSTOM PROPERTIES AND CONFIGURATION
--gutter (var(--space-m)): This defines the space
between each item.

--repel-vertical-alignment How items should align vertically.
Can be any acceptable flexbox alignment value.
*/
.repel {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: var(--repel-vertical-alignment, center);
  gap: var(--gutter, var(--space-m));
}
.repel[data-nowrap] {
  flex-wrap: nowrap;
}
.reel {
  display: flex;
  block-size: auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-color: #fff #000;

  &::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--gutter));
    width: calc(3 * var(--gutter));
    top: 0;
    bottom: 0;
    background: linear-gradient(to right,
        transparent,
        var(--color-light));
    pointer-events: none;
  }
}
.reel>* {
  flex: 0 0 var(--reel-item-width, auto);
}
.reel>img {
  block-size: 100%;
  flex-basis: auto;
  width: auto;
}
.reel>*+* {
  margin-inline-start: 1rem;
}
.reel>.overflowing {
  margin-inline-start: 0;
  padding-inline-end: max(var(--gutter), calc(100% - var(--wrapper-max-width)));
}
/* 
SIDEBAR
More info: https://every-layout.dev/layouts/sidebar/
A layout that allows you to have a flexible main content area
and a "fixed" width sidebar that sits on the left or right.
If there is not enough viewport space to fit both the sidebar
width *and* the main content minimum width, they will stack
on top of each other

CUSTOM PROPERTIES AND CONFIGURATION
 --gutter (var(--space-size-1)): This defines the space
between the sidebar and main content.

--sidebar-target-width (20rem): How large the sidebar should be

--sidebar-content-min-width(50%): The minimum size of the main content area

EXCEPTIONS
.sidebar[data-direction='rtl']: flips the sidebar to be on the right 
*/
.sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gutter, var(--space-s-l));
}
.sidebar:not([data-direction])> :first-child {
  flex-basis: var(--sidebar-target-width, 20rem);
  flex-grow: 1;
}
.sidebar:not([data-direction])> :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-width: var(--sidebar-content-min-width, 50%);
}
.sidebar[data-reversed] {
  flex-direction: row-reverse;
}
.sidebar[data-direction='rtl']> :last-child {
  flex-basis: var(--sidebar-target-width, 20rem);
  flex-grow: 1;
}
.sidebar[data-direction='rtl']> :first-child {
  flex-basis: 0;
  flex-grow: 999;
  min-width: var(--sidebar-content-min-width, 50%);
}
/*
SWITCHER
More info: https://every-layout.dev/layouts/switcher/
A layout that allows you to lay **2** items next to each other
until there is not enough horizontal space to allow that.

CUSTOM PROPERTIES AND CONFIGURATION
--gutter (var(--space-size-1)): This defines the space
between each item

--switcher-target-container-width (40rem): How large the container
needs to be to allow items to sit inline with each other

--switcher-vertical-alignment How items should align vertically.
Can be any acceptable flexbox alignment value.
*/
.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gutter, var(--space-l));
  align-items: var(--switcher-vertical-alignment, flex-start);
}
.switcher>* {
  flex-grow: 1;
  flex-basis: calc((var(--switcher-target-container-width, 40rem) - 100%) * 999);
}
/* Max 2 items,
so anything greater than 2 is ful width */
.switcher> :nth-child(n + 3) {
  flex-basis: 100%;
}
/*
WRAPPER COMPOSITION 
A common wrapper/container
*/
.wrapper {
  margin-inline: auto;
  max-width: var(--wrapper-max-width, 1120px);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
}
.accordion {
  list-style-type: none;
  padding: 0;

  /* Remove default triangle */
  summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding-right: 1.5em;
    padding-block: var(--space-xl);
    /* Space for the icon */
  }

  /* Remove WebKit default marker */
  summary::-webkit-details-marker {
    display: none;
  }

  /* Custom icon positioning */
  summary .icon {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
    opacity: 100%;
  }

  details[open] summary .icon-closed {
    opacity: 0;
  }

  details {
    border-block-start: 1px solid var(--color-primary);

    &:last-child {
      border-block-end: 1px solid var(--color-primary);
    }

    >div {
      padding-block-end: var(--space-xl);
    }

    ul:last-child {
      margin-block-end: 0 !important;
    }
  }

}
.anchor-navigation {
  position: relative;




  &::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--gutter));
    width: calc(3 * var(--gutter));
    top: 0;
    bottom: 0;
    background: linear-gradient(to right,
        transparent,
        var(--color-light));
    pointer-events: none;
  }

  ul {
    display: flex;
    flex-wrap: nowrap;
    overflow: auto;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: var(--btn);
    font-weight: var(--font-medium);
    margin-inline-start: calc(-1 * var(--space-l));
    margin-inline-end: calc(-1 * var(--gutter));
    width: auto;

    li {
      display: inline;

      a {
        display: inline-flex;
        gap: var(--space-m);
        text-decoration: none;
        padding: var(--space-l);
        color: var(--color-dark);
        font-size: var(--btn);

        align-items: center;
        justify-content: space-between;
        white-space: nowrap;

        svg {
          height: .66lh;
          color: transparent
        }
      }

      a.active {
        svg {
          color: var(--color-accent-primary);
        }
      }


    }
  }

  @media screen and (min-width: 1729px) {
    &:after {
      content: none;
    }

    ul {
      display: flex;
      padding-block-start: var(--space-7xl);
      flex-direction: column;
      margin-inline: 0;

      li {
        a {
          display: flex;
          border-top: 1px solid var(--color-neutral-20);
          white-space: normal;

          svg {
            height: 1lh;
          }

        }

        &:last-child>a {
          border-bottom: 1px solid var(--color-neutral-20);
        }
      }
    }
  }
}
.button {
  --button-bg: var(--color-tertiary);
  --button-text: var(--color-light);
  --button-x-padding: 1.1em;
  --button-y-padding: .9em;
  --button-gutter: 1ch;
  --hover-color: #05366CCC;


  display: inline-flex;
  gap: var(--button-gutter);
  border-radius: var(--corner-m);
  align-items: center;
  line-height: var(--leading-flat);
  position: relative;
  border: none;
  cursor: pointer;
  background: var(--button-bg);
  color: var(--button-text);
  padding: var(--button-y-padding) var(--button-x-padding);
  text-decoration: none;
  font-size: var(--btn);
  font-weight: var(--font-medium);
  transition: background-color 0.3s ease, color 0.3s ease;

  &:hover {
    background-color: #05366CCC;
  }
}
.button.secondary {
  --button-bg: var(--color-light);
  --button-text: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--color-primary) !important;

  >.icon * {
    color: var(--color-primary);
  }

  &:hover {
    color: var(--color-light) !important;
    border: 2px solid #05366CCC !important;

    path {
      fill: var(--color-light) !important;
    }
  }
}
.button>.icon {
  width: var(--space-l);
  color: var(--color-light);
}
.button:active {
  transform: scale(99%);
}
.zhaw_card {
  --flow-space: var(--space-2xl);
  display: flex;
  flex-direction: column;
  --reel-item-width: 22rem;

  @media screen and (max-width: 800px) {
    --reel-item-width: 18rem;

  }

  padding-bottom: var(--space-xl);

}
.zhaw_card__image__frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}
.zhaw_card__heading {
  font-size: var(--heading-s);
  line-height: var(--leading-standard);
  font-weight: var(--font-bold);
}
.zhaw_card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.eignung__wrapper {
  * {
    color: var(--color-light);
  }

  .accordion {
    --color-primary: var(--color-light);
  }

  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) min(calc(100% - 2 * var(--gutter)), 1120px) minmax(var(--gutter), 1fr);

  .eignung__right {
    background-color: var(--color-secondary);
    grid-column: 2 / -1;
    display: flex;

    position: relative;

    >article {
      flex-basis: 52rem;
      height: fit-content;

      .eignung__button {
        display: flex;
        gap: var(--space-l);
        flex-wrap: wrap;
      }
    }



    >div.eignung__image {
      position: relative;
      flex-grow: 1;

      .eignung__image__frame {
        overflow: hidden;
        height: 100%;
        position: relative;

        >div {
          position: absolute;
          inset: 0;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: 50% 50%;
          }
        }


      }

      .quote {
        position: absolute;
        bottom: var(--space-3xl);
        left: var(--grid-gutter);
      }
    }

    @media screen and (max-width: 1728px) {
      display: grid;
      grid-column: 1 / -1;
      grid-template-columns: subgrid;

      >article {
        grid-column: 2 / -2;
      }

      >div.eignung__image {
        grid-column: 1 / -1;
        position: relative;
        height: calc(5 * var(--space-7xl));

        img {
          object-position: 50% 10%;
        }

        .quote {
          position: absolute;
          top: unset;
          bottom: var(--space-3xl);
          left: unset;
          right: max(var(--gutter), calc(100% - var(--wrapper-max-width))/2);
          margin-block-start: var(--space-3xl);
        }
      }
    }
  }
}
.tx-powermail {
  margin-inline: auto;
  margin-block-start: var(--space-2xl);
  max-width: var(--wrapper-max-width, 1120px);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;

  .powermail_field_error_container {
    li {
      color: red !important;
    }
  }

  .powermail_create.message {
    margin-left: 5rem;

    @media screen and (max-width: 1728px) {
      margin-left: 0;
    }

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

    a {
      text-decoration: underline;
    }

    *:not(svg, rect, polyline) {
      color: var(--color-dark);
      font-size: var(--body-m);
      text-align: center;
    }

    p+p {
      margin-top: var(--space-l);
    }
  }

  form {
    padding: 0;
    margin-left: 5rem;

    @media screen and (max-width: 1728px) {
      margin-left: 0;
    }

    >fieldset>legend:first-of-type {
      display: none;
    }

    >fieldset>div+div {
      margin-top: var(--space-xl);
    }

    input.btn[type="submit"] {
      font-size: var(--btn) !important;
      --button-bg: var(--color-tertiary);
      --button-text: var(--color-light);
      --button-x-padding: 1.1em;
      --button-y-padding: .9em;
      --button-gutter: 1ch;
      --hover-color: #05366CCC;


      display: inline-flex;
      gap: var(--button-gutter);
      border-radius: var(--corner-m);
      align-items: center;
      line-height: var(--leading-flat);
      position: relative;
      border: none;
      cursor: pointer;
      background: var(--button-bg);
      color: var(--button-text);
      padding: var(--button-y-padding) var(--button-x-padding);
      text-decoration: none;
      font-size: var(--btn);
      font-weight: var(--font-medium);

    }

    .button-background {
      display: flex;
      justify-content: flex-start !important;
      margin-inline: 0 !important;

      .btn {
        width: auto !important;
      }
    }
  }

  input,
  select {
    font-size: var(--body-m) !important;
  }

  ul.powermail-errors-list {
    font-size: var(--body-s) !important;
    margin-top: var(--space-xs);

    li {
      list-style-type: none;
    }
  }

  div.radio:not(:first-child),
  div.checkbox:not(:first-child) {
    margin-top: var(--space-l);
  }

  div.radio,
  div.checkbox {
    label {
      color: var(--color-dark) !important;
    }

    input {
      margin-left: var(--space-s) !important;
      margin-right: var(--space-l) !important;
      transform: scale(1.5);
      accent-color: var(--color-primary);
    }


  }

  .powermail_radio_group,
  .powermail_checkbox_group {
    padding-top: var(--space-l);
    margin-inline: 0 !important;
  }

  .form-group.form-select {
    border: unset !important;
    padding: 0 !important;
  }

  label {
    color: var(--color-neutral-60) !important;
    font-size: var(--body-m) !important;
    margin-bottom: var(--space-xs) !important;
  }

  legend {
    font-size: var(--body-m) !important;
  }
}
.list {

  ul {

    padding: 0 0 0 3ch;

    li {
      --flow-space: var(--space-m);
      font-weight: var(--font-regular);
    }
  }
}
.list .list-heading {
  b {
    font-weight: 500;
  }

  font-size: var(--body-m);
  margin-bottom: var(--space-m);
}
.navigation-sidebar {
  --header-height: 741.2px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--color-light);
  border-bottom: 1px solid var(--color-neutral-20);
  z-index: 100;

  .navigation-sidebar__wrapper {
    position: relative;
    max-width: var(--wrapper-max-width);
    margin-inline: auto;
    padding-inline: var(--gutter);
    z-index: 0;
  }


  @media screen and (min-width: 1729px) {
    position: fixed;
    background-color: var(--color-transparent);
    top: 0;
    left: 0;
    right: 0;
    border-bottom: none;
    z-index: 0;


    &.intro-offset {
      top: var(--header-height)
    }

    .navigation-sidebar__content {
      position: relative;
      z-index: 100;
      width: 13.5rem;
      transform: translateX(calc(-1 * (100% + var(--gutter))));
    }
  }

}
.quote {
  --specch-bubble-tail-height: 36px;
  --specch-bubble-tail-width: 147px;
  --bg-color: var(--color-accent-primary);
  position: relative;
  padding: var(--space-l);
  font-size: var(--body-l);
  line-height: var(--leading-standard);
  font-weight: var(--font-regular);
  background-color: var(--bg-color);
  color: var(--color-light);
  border-radius: var(--radius-l);
  margin-bottom: var(--specch-bubble-tail-height);
  max-width: 22ch;

  >span {
    color: inherit;
  }


  &:after {
    content: '';
    position: absolute;
    display: block;
    top: 100%;
    transform: translateY(-2px);
    left: 0%;
    width: var(--specch-bubble-tail-width);
    height: var(--specch-bubble-tail-height);
    background-color: var(--bg-color);
    clip-path: url("#speech-bubble-tail");
  }

  &[data-variant='secondary'] {
    --bg-color: var(--color-accent-secondary);
    color: var(--color-dark);
  }

  &[data-width='narrow'] {
    max-width: 17ch;
    min-width: 17ch;
  }

  &[data-width='wide'] {
    max-width: 29ch;
    min-width: 29ch;
  }
}
.site-foot {
  --wrapper-max-width: 1728px;
  --region-space: var(--space-4xl);
  color: var(--color-light);

  label {
    font-size: var(--heading-xs);
  }

  label+* {
    margin-top: var(--space-l) !important;
  }

  a {
    font-size: var(--body-s);
  }

  ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-s);

    li {
      margin: 0;
    }
  }

  .site-foot__links {
    gap: var(--space-xl);
  }

  .brand {
    width: var(--space-5xl);
    height: auto;
  }

  .logo-link {
    display: flex;
    gap: var(--space-m);
    display: inline-block;
    width: 40px;

    svg {
      width: 100%;
      height: auto;
    }
  }
}
.site-head {
  --region-space: var(--space-l);
  --wrapper-max-width: 1728px;
  z-index: 1000;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-inline: var(--gutter);
}
.site-head__brand a {
  display: inline-block;
}
.studiere-gesundheit {
  --color-secondary: #9ADCF6;
  --color-accent-primary: #05366C;
  --focus-color: var(--color-accent-primary);
  --title-max-width: 22ch;

  .intro__media {
    background-image: url(/storage/campaign/studiere-gesundheit/intro_gesundheit2.webp);
    background-position: 30% 70% !important;
    filter: brightness(85%);
    @media screen and (max-width: 1728px) {
      background-position: 0% 80% !important;
    }
  }

  .eignung__image {
    img {
      object-position: 50% 90% !important;
    }
  }

  .section-bg-secondary *:not(.button, .quote, path, svg) {
    color: var(--color-dark) !important;
  }

  .eignung *:not(.button, .quote, path, svg),
  .studiengaenge *:not(.button, .quote, path, svg) {
    color: var(--color-dark) !important;

    details {
      --color-primary: var(--color-dark) !important;

      svg,
      path {
        color: var(--color-dark) !important;
      }
    }
  }
}
.studiere-hebamme {
  --color-secondary: #00919B;
  --color-accent-primary: #05366C;
  --focus-color: var(--color-accent-primary);
  --title-max-width: 20ch;

  .intro {

    h1,
    h4 {
      color: #00A9B4;
    }
  }

  .intro__media {
    background-image: url(/storage/campaign/studiere-hebamme/intro_hebamme.jpg);
  }

  .eignung__image {
    img {
      object-position: 50% 10% !important;

      @media screen and (max-width: 1728px) {
        object-position: 50% 25% !important;
      }
    }
  }
}
.studiere-physiotherapie {
  --color-secondary: rgba(230, 33, 84, 80%);
  --color-accent-primary: #05366C;
  --focus-color: var(--color-accent-primary);
  --title-max-width: 24ch;

  .intro__media {
    background-image: url(/storage/campaign/studiere-physiotherapie/intro_physiotherapie3.webp);
    background-position: 100% 100% !important;
  }

  .perspektiven__wrapper {
    .section-bg-secondary__header {
      min-height: 40rem !important;

      @media screen and (max-width: 1120px) {
        min-height: 32rem !important;

        .quote {
          top: unset !important;
          bottom: var(--space-3xl);
        }
      }
    }

    img {
      object-position: 50% 25% !important;
    }
  }

  .intro {

    h1,
    h4 {
      color: #FF4777;
    }
  }

  .eignung__image {
    img {
      object-position: 50% 20% !important;

      @media screen and (max-width: 1728px) {
        object-position: 50% 20% !important;
      }
    }
  }
}
.studiere-ergotherapie {
  --color-secondary: #A3D045;
  --color-accent-primary: #05366C;
  --focus-color: var(--color-accent-primary);

  --title-max-width: 22ch;

  .intro__media {
    background-image: url(/storage/campaign/studiere-ergotherapie/intro_ergotherapie.jpg);
  }

  .section-bg-secondary *:not(.button, .quote, path, svg) {
    color: var(--color-dark) !important;
  }

  .eignung *:not(.button, .quote, path, svg) {
    color: var(--color-dark) !important;
  }

  .eignung__image {
    img {
      object-position: 50% 25% !important;

      @media screen and (max-width: 1728px) {
        object-position: 50% 20% !important;
      }
    }
  }

  .eignung {
    details {
      --color-primary: var(--color-dark) !important;
      border-block-start: 1px solid var(--color-dark) !important;

      svg,
      path {
        color: var(--color-dark) !important;
      }
    }
  }

}
.studiere-gesundheit-praevention {
  --color-secondary: #FFDC0C;
  --color-accent-primary: #05366C;
  --focus-color: var(--color-accent-primary);

  --title-max-width: 24ch;

  .intro__media {
    background-image: url(/storage/campaign/studiere-physiotherapie/intro_gp.jpg);
    background-position: 0% 0%;

    @media screen and (max-width: 800px) {
      transform-origin: top left;
      transform: scale(1.3) !important;

    }
  }

  @media screen and (max-width: 800px) {
    .intro__header h4 {
      max-width: 21ch;
    }


  }

  @media screen and (max-width: 400px) {
    .intro__header h1 {
      font-size: 30px;
    }
  }

  .section-bg-secondary *:not(.button, .quote, path, svg) {
    color: var(--color-dark) !important;
  }

  .eignung *:not(.button, .quote, path, svg) {
    color: var(--color-dark) !important;
  }

  .eignung__image {
    img {
      object-position: 50% 25% !important;

      @media screen and (max-width: 1728px) {
        object-position: 50% 15% !important;
      }
    }
  }

  .eignung {
    details {
      --color-primary: var(--color-dark) !important;
      border-block-start: 1px solid var(--color-dark) !important;

      svg,
      path {
        color: var(--color-dark) !important;
      }
    }
  }


}
.studiere-pflege {
  --color-secondary: #FFB0D4;
  --color-accent-primary: #05366C;
  --focus-color: var(--color-accent-primary);

  --title-max-width: 18ch;



  .intro__media {
    background-image: url(/storage/campaign/studiere-physiotherapie/intro_pflege.jpg);
  }

  .section-bg-secondary *:not(.button, .quote, path, svg) {
    color: var(--color-dark) !important;
  }

  .eignung *:not(.button, .quote, path, svg) {
    color: var(--color-dark) !important;
  }

  .eignung__image {
    img {
      object-position: 50% 25% !important;

      @media screen and (max-width: 1728px) {
        object-position: 50% 18% !important;
      }
    }
  }

  .eignung {
    details {
      --color-primary: var(--color-dark) !important;
      border-block-start: 1px solid var(--color-dark) !important;

      svg,
      path {
        color: var(--color-dark) !important;
      }
    }
  }
}
.section-bg-secondary {
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) min(calc(100% - 2 * var(--gutter)), 1120px) minmax(var(--gutter), 1fr);

  * {
    color: var(--color-light);
  }

  .quote {
    color: var(--color-dark);
  }

  .section-bg-secondary__right {
    background-color: var(--color-secondary);
    display: grid;
    grid-column: 2 / -1;

    article {
      max-width: calc(var(--wrapper-max-width));

      * {
        color: var(--color-light);
      }
    }

    .section-bg-secondary__header {
      position: relative;
      max-height: 32rem;
      min-height: 20rem;

      @media screen and (max-width: 1728px) {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: subgrid;

        article {
          display: grid;
          grid-column: 2 / -2;
        }

        .section-bg-secondary__header {
          grid-column: 1 / -1;
        }
      }

      .section-bg-secondary__header__image__frame {
        height: 100%;
        overflow: hidden;
        grid-column: 1 / -1;

        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center;
        }
      }

      .section-bg-secondary__header__quote {
        position: absolute;
        top: var(--space-5xl);

        left: max(var(--gutter), calc(((100% - var(--wrapper-max-width)) / 2) + var(--gutter)));

        @media screen and (min-width: 1728px) {
          left: 5rem;
        }

        @media screen and (max-width: 1128px) {
          left: var(--gutter);
          top: 50%;
          transform: translateY(-50%);
        }


      }
    }

    @media screen and (max-width: 1728px) {
      background-color: var(--color-secondary);
    }
  }
}
.ueberblick__content {
  --gutter: var(--grid-gutter);
  --sidebar-content-min-width: 18rem;
  --sidebar-target-width: 42rem;
  align-items: flex-start;

  .quote {
    transform: translateY(calc(-1 * var(--space-6xl)));

    @media screen and (max-width: 1028px) {
      transform: translateY(0);
    }
  }
}
.ueberblick__button {
  display: flex;
  gap: var(--space-m);
  flex-wrap: wrap;
}
.ueberblick__content__wrapper {
  @media screen and (max-width: 1120px) {
    margin-top: var(--space-3xl) !important;
  }
}
.perspektiven__content__info {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: var(--grid-gutter);

  @media screen and (max-width: 1120px) {
    margin-top: var(--space-3xl) !important;
  }

  &>div:first-child {
    flex-grow: 1;
    flex-basis: 42rem;
  }
}
.perspektiven__content__button {
  margin-block-start: var(--space-3xl);
  display: flex;
  gap: var(--space-l);
  flex-wrap: wrap;
}
.perspektiven__header {
  position: relative;
  height: calc(5 * var(--space-7xl));

  .perspektiven__header__image__frame {
    height: 100%;

    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  @media screen and (max-width: 1120px) {
    left: unset;
    width: 100%;
  }

  .quote {
    position: absolute;
    top: var(--space-5xl);
    left: 5rem;

    @media screen and (max-width: 800px) {
      left: var(--gutter);
    }

  }
}
.infoanlaesse {
  padding-bottom: 0 !important;
}
.inhalte__button {
  display: flex;
  gap: var(--space-l);
  flex-wrap: wrap;
}
.section-bg-secondary {
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) min(calc(100% - 2 * var(--gutter)), 1120px) minmax(var(--gutter), 1fr);

  * {
    color: var(--color-light);
  }

  .section-bg-secondary__right {
    background-color: var(--color-secondary);
    display: grid;
    grid-column: 2 / -1;

    @media screen and (max-width: 1728px) {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: subgrid;

      article {
        display: grid;
        grid-column: 2 / -2;
      }
    }
  }

}
.intro {
  grid-area: intro;
  overflow: hidden;
  position: relative;
}
.intro__media {
  position: absolute;
  width: 43%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  @media screen and (max-width: 800px) {
    width: 100%;
    background-position: center top;
  }

  @media screen and (min-width: 1728px) {
    background-position: 50% 0%;
  }
}
.intro__content {
  --region-space: var(--space-5xl);
  --flow-space: var(--space-4xl);
  position: relative;
  display: flex;
  flex-direction: column;
}
.intro__sub-brand {
  align-self: flex-end;
  font-family: 'HelveticaRounded';
  font-weight: 500;
  color: var(--color-light);
  font-weight: max(20px, var(--body-m));
}
.intro__cta {
  align-self: flex-end;
  aspect-ratio: 1 / 1;
  background-color: var(--color-light);
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-10deg);
  transition: transform 0.3s ease;

  &:hover {
    transform: rotate(0deg);
  }

  >* {
    box-sizing: content-box;
    max-width: 10ch;
    text-align: center;
    padding: var(--space-xl);
    color: var(--color-dark);
    font-weight: var(--font-medium);
    ;
  }

  a {
    /*text-decoration: underline;
    text-underline-offset: 0.1em;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: auto;*/
  }

}
.intro__header {
  --flow-space: var(--space-l);
  color: var(--color-secondary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  h4 {
    font-weight: 500;
  }

  h1 {
    max-width: var(--title-max-width);
  }

  >* {
    background-color: var(--color-accent-primary);
    padding: var(--space-l);
    border-radius: var(--corner-l);
  }
}
.weitere-studiengaenge__wrapper {
  display: grid;
  grid-template-columns: minmax(var(--gutter), 1fr) min(calc(100% - 2 * var(--gutter)), 1120px) minmax(var(--gutter), 1fr);

  .weitere-studiengaenge__right {
    grid-column: 2 / -1;

    background-color: var(--color-neutral-10);
  }

  @media screen and (max-width: 1728px) {
    background-color: var(--color-neutral-10);
  }
}
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}
.body-xl {
  font-size: var(--body-xl);
  line-height: var(--leading-standard);
}
.body-l {
  font-size: var(--body-l);
  line-height: var(--leading-standard);
}
.body-m {
  font-size: var(--body-m);
  line-height: var(--leading-loose);
}
.flow-space-m {
  >* {
    --flow-space: var(--space-m);
  }
}
.flow-space-l {
  >* {
    --flow-space: var(--space-l);
  }
}
.flow-space-xl {
  >* {
    --flow-space: var(--space-xl);
  }
}
.flow-space-2xl {
  >* {
    --flow-space: var(--space-2xl);
  }
}
.flow-space-3xl {
  >* {
    --flow-space: var(--space-3xl);
  }
}
.flow-space-7xl {
  >* {
    --flow-space: var(--space-7xl);
  }
}
.zhaw-bg-primary {
  background-color: var(--color-primary);
}
.zhaw-bg-secondary {
  background-color: var(--color-secondary);
  color: var(--color-inverted) !important;
  --color-primary: var(--color-light);
}
.bg-neutral-10 {
  background-color: var(--color-neutral-10);
}
.mt-space-7xl {
  margin-top: var(--space-7xl);
}
.indent {
  margin-left: 5rem;
}
@media screen and (max-width: 1728px) {
  .indent {
    margin-left: 0;
  }
}
/* 
  Global styles 

  Low-specificity, global styles that apply to the whole 
  project: https://cube.fyi/css.html
*/
html,
body {
  overscroll-behavior: none;
  /* prevents "pull to refresh" and overdrag */
}
body {
  background: var(--color-light);
  color: var(--color-dark);
  font-size: var(--body-m);
  font-family: var(--font-base);
  line-height: var(--leading-loose);
  font-size-adjust: from-font;
  margin: 0;
  overflow-x: hidden;
}
body>* {
  max-width: 100%;
  overflow: hidden;
}
* {
  scroll-behavior: smooth;
}
:is(h1, h2, h3, h4) {
  line-height: var(--leading-fine);
  text-wrap: balance;
}
h1 {
  font-size: var(--heading-5xl);
  font-weight: var(--font-medium);
  line-height: 1;
  max-width: 23ch;
}
h2 {
  font-size: var(--heading-3xl);
  font-weight: var(--font-medium);
  line-height: var(--leading-fine);
  max-width: 35ch;
}
h3 {
  font-size: var(--heading-3xl);
  font-weight: var(--font-medium);
  max-width: 35ch;
}
:is(h4, h5, h6) {
  font-size: var(--heading-l);
  font-weight: var(--font-regular);
}
small {
  font-size: var(--body-s);
}
ins {
  text-decoration: none;
  background: var(--color-primary);
  color: var(--color-dark);
  padding-inline: 0.3em;
}
:is(code, kbd, samp) {
  font-family: monospace;
  padding: 0.2em 0.2em 0.05em 0.2em;
  hyphens: none;
  tab-size: 2;
  text-align: left;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  box-decoration-break: clone;
}
/* This is quite a new property, so we want code styles to at least, not be huge or tiny */
@supports not (font-size-adjust: from-font) {
  :is(code, kbd, samp) {
    font-size: 0.8em;
  }
}
pre:has(code) {
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
}
pre code {
  border: none;
  background: none;
  padding: 0;
}
kbd {
  border: 1px solid;
  padding-block-end: 0.1em;
}
var {
  font-style: normal;
  font-weight: var(--font-medium);
}
q {
  font-style: italic;
}
ul {
  padding-inline-start: 1.7ch;
  list-style-type: disc;
}
ul:not([class])>li {
  padding-inline-start: var(--space-xs);
}
:is(ol, ul):not([class]) li+* {
  margin-block-start: var(--flow-space, var(--space-xs));
}
ul ::marker {
  font-size: 0.8lh;
}
ol ::marker {
  font-size: 1em;
  font-weight: var(--font-bold);
}
/* Lists with classes and roles will be out of standard flow, so remove the default spacing */
[role='list'][class],
[role='tablist'][class] {
  margin-block: 0;
  padding: 0;
}
dt {
  font-weight: var(--font-medium);
}
dt+dd {
  margin-block-start: var(--space-xs);
}
dd+dt {
  margin-block-start: var(--space-s);
}
dd {
  margin-inline-start: 1.5ch;
}
blockquote {
  margin-inline: 0;
  color: var(--color-light);
}
blockquote footer {
  margin-block-start: var(--space-s);
  color: var(--color-primary);
  font-size: var(--size-step-0);
}
blockquote q {
  font-style: normal;
}
:is(video, iframe[src*='youtube'], iframe[src*='vimeo']) {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}
:is(img, picture) {
  height: auto;
  max-width: 100%;
  display: block;
}
picture {
  width: max-content;
}
figcaption {
  padding-block-start: 0.5em;
  font-size: var(--size-step-0);
  font-family: var(--font-mono);
}
table {
  border: var(--stroke-solid);
  border-collapse: collapse;
  width: 100%;
}
th {
  text-align: left;
  font-weight: var(--font-bold);
  line-height: var(--leading-fine);
  background: rgb(0 0 0 / 2%);
}
thead th {
  padding-block: var(--space-s);
}
td,
th {
  padding: var(--space-xs) var(--space-s);
}
th:not(:only-of-type) {
  border-block-end: var(--stroke-solid);
}
th:only-of-type {
  border-inline-end: var(--stroke-solid);
}
:is(th, td)~ :is(th, td) {
  border-inline-start: var(--stroke-solid);
}
tr+tr :is(th, td) {
  border-block-start: var(--stroke-solid);
}
caption {
  caption-side: bottom;
  margin-block-start: var(--space-s);
}
a:not([class]):hover {
  text-underline-offset: 0.2lh;
}
:is(h1, h2, h3, h4) a:not([class]) {
  text-decoration-thickness: 0.1ex;
  text-underline-offset: 0.2ex;
}
:is(h1, h2, h3, h4) a:not([class]):hover {
  text-underline-offset: 0.3ex;
}
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--focus-color, currentColor);
  outline-offset: var(--focus-offset, 0.2lh);
}
:target {
  scroll-margin-block: 0;
}
::selection {
  color: var(--color-dark);
  background: var(--color-neutral-20);
}
hr {
  border: none;
  border-block-start: var(--hr-stroke, var(--stroke-solid));
  margin-block: var(--flow-space, var(--space-xl));
}
svg:not([class]) {
  width: auto;
  height: 1lh;
}
svg {
  flex-shrink: 0;
}
svg[role='img'][width][height] {
  /* Allow the width and height attributes to take over */
  width: revert;
  height: revert;

  /* We've got a dark theme on this site, so if there's no background, dark lines will be hard to see */
  background: var(--color-light);

  /* A tiny bit of padding frames the image nicely */
  padding: var(--space-xs);
}
/* There's a .flow composition, but this prevents forms from having to have that applied where markup is harder to control in certain systems. It still uses the --flow-space variables though to make managing space easier */
form>*+* {
  margin-top: var(--flow-space, 1rem);
}
:is(input, select, textarea) {
  accent-color: var(--color-accent-primary);
}
:is(input:not([type='checkbox'], [type='radio'], [type='color']), select, textarea) {
  padding: 0.5em 0.8em;
  border-radius: var(--radius-s);
  border: var(--stroke-solid);
  background: var(--color-light);
  color: var(--color-dark);
  width: 100%;
}
:is(input:not([type='checkbox'], [type='radio'], [type='color']), select, textarea)::placeholder {
  color: var(--color-primary);
  opacity: 1;
}
label {
  line-height: var(--leading-fine);
  font-weight: var(--body-s);
}
/* Creates a line break, but maintains its inline behaviour */
label::after {
  content: '\A';
  white-space: pre;
}
/* Usually label wraps checkbox and radio buttons, so we give ourselves more layout and text-flow control with flex */
label:has(input) {
  display: flex;
  align-items: baseline;
  gap: var(--space-s);
  font-weight: var(--font-normal);
}
label:has(input)+label:has(input) {
  --flow-spce: var(--space-s-m);
}
/* Slightly adjusts the vertical position of the check/radio */
label:has(input) input {
  transform: translateY(-0.1ex);
}
input:disabled {
  background: var(--color-mid);
}
input:disabled,
label input:disabled+* {
  cursor: not-allowed;
}
fieldset {
  padding: 0;
}
legend {
  font-weight: var(--font-medium);
  padding-inline: var(--space-xs);
}
/* Details and summary */
summary {
  cursor: pointer;
  line-height: var(--leading-standard);
}
details[open] summary {
  margin-block-end: var(--space-s);
}
a {
  color: var(--color-light);
  text-decoration: none;
}
address {
  font-style: normal;
  line-height: var(--leading-standard);
  font-size: var(--body-s);
  display: flex;
  flex-direction: column;
}
p {
  text-wrap: pretty;
  line-height: var(--leading-loose);
}
p+p {
  margin-block-start: var(--space-m);
}
