:root {
  /* fonts*/
  --a-font: 'Roboto';
  --h2-font: 'Roboto Slab';
  --p-font: 'Roboto';
  /*sizes*/
  --a-size: 16px;
  --button-size: 16px;
  --h2-size: 20px;
  --p-size: 16px;
  /*colors*/
  --magenta: #e6007e;
  --gray: #d8d8d8;
  --lightgray: #f4f5f6;
}



/* Fonts */
@font-face {
  font-family: 'Roboto Bold';
  src: url('../fonts/roboto-bold.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Italic';
  src: url('../fonts/roboto-italic.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/roboto.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('../fonts/robotoslab-bold.woff2') format('woff2');
  font-display: swap;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  min-height: 100%;
  height: 100%;
}

body {
  width: 100%;
  margin: 0 !important;
  padding: 0;
  position: relative;
  min-height: 100%;
  height: 100%;
}

body p {
  font-family: var(--p-font);
}

.dialog-off-canvas-main-canvas {
  height: 100%;
}

div {
  box-sizing: border-box;
}

a {
  color: var(--magenta);
  font-size: var(--a-size);
  text-decoration: none;
}

p {
  font-size: var(--p-size);
}

.uv-gdpr-consent-necessary-form h2,
.uv-gdpr-cconsent-all-form h2,
h2 {
  font-family: var(--h2-font);
  font-size: var(--h2-size);
  margin: 0 0 22px;
}

input[type=submit] {
  font-size: var(--button-size);
}

/* -----------------------------------*/
/*Navigation Bar*/
nav {
  width: 100%;
  height: 80px;
}

nav .row-wrapper {
  height: 100%;
  max-width: 1280px;
  position: relative;
}

@media only screen and (min-width: 1024px) {
  nav .row-wrapper {
    padding: 10px 0;
    margin: 0 auto;
  }
}

nav .row-wrapper img {
  position: absolute;
  top: 0;
  left: 20px;
  right: 0;
  bottom: 0;
  margin: auto 0;
  max-width: 138px;
  max-height: 60px;
}
/*
@media only screen and (min-width: 1024px) {
  nav .row-wrapper img {
    left: 0;
  }
}*/
/* -----------------------------------*/
/*Main Content*/
main {
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
  height: auto;
}

@media only screen and (min-width: 768px) {
  main {
    height: inherit;
  }
}

@media only screen and (min-width: 1024px) {
  main {
    position: relative;
    height: auto;
  }
}

/* ipad pro portrait */
@media only screen
and (min-width: 1024px)
and (max-height: 1366px)
and (orientation: portrait)
and (-webkit-min-device-pixel-ratio: 1.5) {
  main {
    height: 100%;
  }
}

/* ipad pro landscape */
@media only screen
and (min-width: 1366px)
and (max-height: 1080px)
and (orientation: landscape)
and (-webkit-min-device-pixel-ratio: 1.5) {
  main {
    height: 100%;
  }
}

@media only screen and (min-width: 1367px) {
  main {
    height: 100%;
  }
}

.content-wrapper {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
}

@media only screen and (max-width: 768px) {
  .content-wrapper {
    padding: 60px 10px;
  }
}

@media only screen and (min-width: 768px) {
  .content-wrapper {
    padding: 100px 20px 0;
  }
}
.wrapper {
  background: #fff;
  padding: 48px 0 0;
  border: 0;
}

@media only screen and (max-width: 768px) {
  .wrapper {
    padding: 0;
  }
}

#intro {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

#intro p {
  font-family: 'Roboto Italic';
}

h2 {
  text-align: center;
}

.wrapper #intro,
.wrapper .function-wrapper {
  padding: 20px 20px 0;
}

ul {
  list-style: none;
}

.function-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 38px;
}

@media only screen and (min-width: 1024px) {
  .function-wrapper {
    flex-direction: row;
    max-height: calc(100vh - 77px);
  }
}

.function-wrapper p,
.function-wrapper a {
  text-align: left;
}

.left-function,
.right-function {
  width: 100%;
}

.left-function {
  padding-bottom: 20px;
  border-bottom: 2px solid var(--gray);
}

@media only screen and (min-width: 1024px) {
  .left-function {
    border-bottom: 0;
  }

}
.right-function {
  padding-top: 20px;
}

.left-function span {
  width: 100%;
  display: block;
  color: #000;
  cursor: pointer;
}

.left-function ul {
  display: none;
}

.left-function ul.active {
  display: block;
}

.right-function p,
.left-function p {
  margin-bottom: 24px;
}


@media only screen and (min-width: 1024px) {
  .left-function,
  .right-function {
    width: 50%;
    padding: 0 60px;
  }

  .left-function {
    border-right: 2px solid var(--gray);
  }
}

input[type=submit]:not(.button-as-link) {
  background-color: #fff;
  padding: 12px 25px;
  color: var(--magenta);
  border: 2px solid var(--magenta);
  border-radius: 0;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  white-space: normal;
  -webkit-appearance: none;
}

input[type=submit]:hover:not(.button-as-link) {
  background: var(--magenta);
  color: #fff;
}

.button-as-link {
  background-image: url("images/pfeil.svg");
  background-color: #fff;
  background-repeat: no-repeat;
  border: none !important;
  padding: 0 0 0 20px;
  /*optional*/
  font-family: arial, sans-serif;
  /*input has OS specific font-family*/
  color: var(--magenta);
  text-decoration: none;
  cursor: pointer;
  display: block;
  margin: 20px 0;
  background-position: left;
  background-size: 6px;
}

.uv-gdpr-consent-necessary-form input[type=submit] {
  color: #787878;
  border: 2px solid #787878;
}

@media only screen and (max-width: 768px) {
  .uv-gdpr-consent-necessary-form input[type=submit] {
    padding: 12px 25px;
  }
}


.cookie-settings-wrapper {
  margin-bottom: 32px;
}

fieldset.js-form-item {
  border: 0;
}

#outro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 20px 20px 0;
}

#outro {
  margin-bottom: 32px;
}

#footer {
  background: var(--lightgray);
  text-align: center;
  padding: 10px 0;
}

#footer a {
  padding: 0 10px;
  color: #000;
}

/* Styling CRM */
.cookie-settings-wrapper .panel-body,
.cookie-settings-wrapper .panel-title {
  font-family: var(--p-font);
}
