/* //////////////////////

////////////////////// */

/* -------------- */
/* SETUP */
/* DESKTOP */
/* MINI-DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE */
/* SPECIAL BREAKPOINTS */
/* -------------- */

/* SETUP //////////////////////////////////////////////////////////////// */

:root {
  /* ***** Colors */

  /* --- Default */
  --color__dark: #000000;
  --color__light: #fff3f3;

  /* --- Corporate */
  --color__primary: #430221;
  --color__primary--dark: #570c28;

  --color__secondary: #805065;
  --color__secondary--bright: #c3a6b0;

  --color__accent: #ff5c5d;
  --color__bright: #ffe6e7;

  /* --- System */
  --color__success: #00871b;
  --color__warning: #fea137;
  --color__error: #cd0000;

  /* ***** Font Sizes */
  /* --fsize__h1: 6rem; */
  --fsize__h1: clamp(3.4rem, 8vw, 6rem);
  /* --fsize__h2: 4.25rem; */
  --fsize__h2: clamp(2rem, 5vw, 3.5rem);
  /* --fsize__h3: 1.8rem; */
  --fsize__h3: clamp(1.5rem, 2.5vw, 1.6rem);
  --fsize__h4: 1.8rem;
  --fsize__h5: 1.8rem;
  --fsize__h6: 1.8rem;
  --fsize__p: clamp(1.05rem, 2vw, 1.15rem);
  --fsize__s: 0.85rem;

  /* ***** Icon Sizes */
  --isize__small: 1.75rem;
  --isize__regular: 2.75rem;
  --isize__large: 4rem;

  /* ***** Borders */
  --border__small: 0.0625em solid var(--color__primary);
  --border__small--light: 0.0625em solid var(--color__light);
  --border__regular: 0.125em solid var(--color__primary);
  --border__regular--light: 0.125em solid var(--color__primary);
  --border__large: 0.25em solid var(--color__primary);
  --border__large--light: 0.25em solid var(--color__primary);

  /* ***** Radiuses */
  --radius__small: 1em;
  --radius__regular: 2em;
  --radius__large: 8em;

  /* ***** Layout */
  --innerwrap__width: min(100vw, 95em);
  --innerwrap__width--slim: min(100vw, 62.5em);
  --innerwrap__width--slimmer: min(100vw, 50em);
  --innerwrap__width--slim-af: min(100vw, 35em);
  --innerwrap__px: 2rem;
  --innerwrap__py: 3rem;
}

/* FONTS – LICENSED TO redmin GmbH *******************************************************************************/

@font-face {
  font-family: "soehne-leicht";
  src: url("/wp-content/themes/redmin/font/soehne-leicht.eot"); /* IE9 Compat Modes */
  src: url("/wp-content/themes/redmin/font/soehne-leicht.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("/wp-content/themes/redmin/font/soehne-leicht.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("/wp-content/themes/redmin/font/soehne-leicht.woff") format("woff"); /* Pretty Modern Browsers */
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "soehne-dreiviertel";
  src: url("/wp-content/themes/redmin/font/soehne-dreiviertelfett.eot"); /* IE9 Compat Modes */
  src: url("/wp-content/themes/redmin/font/soehne-dreiviertelfett.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */
      url("/wp-content/themes/redmin/font/soehne-dreiviertelfett.woff2")
      format("woff2"),
    /* Super Modern Browsers */
      url("/wp-content/themes/redmin/font/soehne-dreiviertelfett.woff")
      format("woff"); /* Pretty Modern Browsers */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* //////////////////////////////////////////////////////////////// */
html,
body {
  font-size: 1rem;
  /* ensures that browser's default font size is used as a reference for rem */
  line-height: 1.36em;
  /* ideally the same line-height that is used on p tag */
}

body {
  font-family: "soehne-leicht", sans-serif;
  font-weight: 400;
  margin: 0;
  -webkit-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  -webkit-font-kerning: normal;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}

html.lenis,
html.lenis body {
  height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}
.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

h1,
.h1 {
  font-family: "soehne-dreiviertel", sans-serif;
  font-weight: 400;
  font-size: var(--fsize__h1);
  line-height: 0.99em;
  letter-spacing: 0em;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h2,
.h2 {
  font-family: "soehne-dreiviertel", sans-serif;
  font-weight: 400;
  font-size: var(--fsize__h2);
  line-height: 1.04em;
  letter-spacing: 0em;
  margin-block-end: 0.7em;
  margin-block-start: 0.7em;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-family: "soehne-dreiviertel", sans-serif;
  font-weight: 400;
  font-size: var(--fsize__h3);
  line-height: 1.25em;
  letter-spacing: 0em;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  margin-block-end: 0.7em;
  margin-block-start: 0.7em;
}

p,
li,
p a,
.p,
.p a,
address {
  font-family: "soehne-leicht", sans-serif;
  font-weight: 400;
  font-size: var(--fsize__p);
  font-style: normal;
  line-height: 1.36em;
  letter-spacing: 0.01em;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.s {
  font-family: "soehne-leicht", sans-serif;
  font-weight: 400;
  font-size: var(--fsize__s);
  line-height: 1.2em;
  letter-spacing: 0.01em;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.p.s a,
.s a {
  font-size: var(--fsize__s);
}

.fsize--marginal {
  font-size: var(--fsize_s);
}

.uppercase {
  text-transform: uppercase;
}

strong,
b,
.button,
.bold {
  font-family: "soehne-dreiviertel", sans-serif;
  font-weight: 700;
  color: var(--color__primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.button span[class*="dashicons-solid"] {
  font-size: 0.6em;
}

/* ––– Unordered List */

ul.plain {
  padding-left: 0;
}

ul.plain li {
  list-style: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

ul.plain li::before {
  content: none;
}

/* ***** locked wysiwyg styles to avoid different title sizes */

.wysiwyg-editor h1,
.wysiwyg-editor h2,
.wysiwyg-editor h3,
.wysiwyg-editor h4,
.wysiwyg-editor h5,
.wysiwyg-editor h6 {
  font-family: "Arial", sans-serif;
  font-weight: 700;
  font-size: var(--fsize__h2);
  line-height: 3.75em;
  letter-spacing: 0.01em;
  color: var(--color__primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  overflow: visible;
}

/* LINKS / GLOBAL INTERACTIONS *******************************************************************************/

/* ***** Links */

p a,
.p a {
  text-decoration: none;
  border-bottom: var(--border__small);
  padding: 0em 0em 0.0625em 0em;
}

p a:hover,
.p a:hover {
  cursor: pointer;
  /* border-bottom: var(--border__small);
  color: var(--color__primary); */
}

p a strong,
p a b,
.p a strong,
.p a b {
  padding: 0;
  font-weight: 700;
}

a,
a:hover {
  text-decoration: none;
  cursor: pointer;
}

.fcolor--light a:hover {
  color: var(--color__light);
}

/* ***** Buttons */

.button {
  background: none;
  color: var(--color__primary);
  /* padding: 0.3em; */
  border: 0;
  margin-top: 0em;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  cursor: pointer;
  height: auto;
  width: auto;
}

.button.button--redmin {
  color: var(--color__light);
  border-bottom-right-radius: 30% 90%;
  padding: 0.4em 1.5em 0.3em 1em;
  border: 0;
  margin-top: 0em;
  display: inline-block;
  cursor: pointer;
  height: auto;
  min-height: 4em;
  width: 100%;
}

/* ugly workaround because they use long titles.. */
.button.button--redmin.h4 {
  font-size: calc(var(--fsize__h3) * 0.9);
}

.button.button--redmin span:last-child {
  display: none;
}

.button.button--go-back [class^="dashicons-"]::before {
  display: inline-block;
  transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
}

.button.neg {
  background: var(--color__light);
  color: var(--color__primary);
  border: var(--border__regular);
}

/* --- Centered Button */

.centered-button {
  width: 100%;
  text-align: center;
  margin: 1.875em 0;
}

.centered-button .button {
  display: inline;
}

/* ***** Default Interactions */

::-moz-selection {
  background: var(--color__primary);
  color: var(--color__light);
}

::selection {
  background: var(--color__primary);
  color: var(--color__light);
}

*:focus {
  outline: none;
  /* background-color: var(--color__primary) !important;
  color: var(--color__light);
  mix-blend-mode: difference; */
}

a:focus-visible {
  outline: var(--border__regular);
}

a:focus-visible .covered-image-wrap::after,
a:focus-visible .contained-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: var(--color__primary);
}

.swiper-button-next:focus-visible:after,
.swiper-button-prev:focus-visible:after {
  border: 0.0625rem solid var(--color__light);
  padding: 0.25em;
  background: var(--color__primary);
}

.swiper-pagination-bullet:focus-visible {
  transform: scale(1.1);
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
body {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: 0;
  /* Firefox */
}

/* MISC *******************************************************************************/

/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
03. SPLIDE / LIGHTBOX
*/

/*
-----------------------------------------------------------------------------

01. Presets

-----------------------------------------------------------------------------
*/

/* LAYOUT *******************************************************************************/

main {
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.main__inner {
  margin-top: 0px;
  /* Space to Navigation */
}

.sec-wrap {
  width: 100%;
  height: auto;
  background: var(--color_light);
  position: relative;
}

.sec-wrap__inner {
  position: relative;
  width: var(--innerwrap__width);
  height: auto;
  margin: auto;
}

.sec-wrap__inner:not([class*="pxy"], [class*="px-"], [class*="pl-"]) {
  padding-left: var(--innerwrap__px);
}

.sec-wrap__inner:not([class*="pxy"], [class*="px-"], [class*="pr-"]) {
  padding-right: var(--innerwrap__px);
}

.sec-wrap__inner:not([class*="pxy"], [class*="py-"], [class*="pt-"]) {
  padding-top: var(--innerwrap__py);
}

.sec-wrap__inner:not([class*="pxy"], [class*="py-"], [class*="pb-"]) {
  padding-bottom: var(--innerwrap__py);
}

.sec-wrap__inner.full {
  width: 100%;
}

.sec-wrap__inner.slim {
  width: var(--innerwrap__width--slim);
}

.sec-wrap__inner.slimmer {
  width: var(--innerwrap__width--slimmer);
}

.sec-wrap__inner.slim-af {
  width: var(--innerwrap__width--slim-af);
}

/* ***** Text columns */

.text-2-columns {
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -ms-column-count: 2;
  column-gap: 1.875em;
  -webkit-column-gap: 1.875em;
  -moz-column-gap: 1.875em;
  -ms-column-gap: 1.875em;
  margin: 1.875em 0;
}

.text-3-columns {
  column-count: 3;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -ms-column-count: 3;
  column-gap: 2em;
  -webkit-column-gap: 2em;
  -moz-column-gap: 2em;
  -ms-column-gap: 2em;
}

/* ***** Text overflow */

.nobreak {
  white-space: nowrap;
}

.shorten {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* --- Centered Text */

.centered-text,
.centered-text * {
  text-align: center;
}

/* ***** Centered image */

.centered-image-wrap {
  width: 100%;
  margin: auto;
  height: 28em;
  position: relative;
  overflow: hidden;
  /* fallback for bg-img usage */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.centered-image-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  margin-right: -50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.centered-image-wrap.full img {
  width: 100%;
}

/* ***** Covered image wrap */

.covered-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.covered-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/* ***** Contained image wrap */

.contained-image-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  width: 100%;
}

.contained-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}

/* ***** global border class */
.b-radius--redmin {
  border-bottom-right-radius: 50% 50%;
}

.b-radius--redmin-large {
  border-bottom-right-radius: 65% 50%;
}

.b-radius--redmin-large--landscape {
  border-bottom-right-radius: 40% 70%;
}

.b-radius--redmin-small {
  border-bottom-right-radius: 50% 40%;
}

.b-radius--redmin-small--landscape {
  border-bottom-right-radius: clamp(30px, 15vw, 140px);
}

.b-radius--50 {
  border-radius: 50%;
}

/**** ie-browser fixes */

.browser-ie .covered-image-wrap,
.browser-edge .covered-image-wrap {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ***** Vertical centered */

.centered--vertical {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/*
-----------------------------------------------------------------------------

02. Footer

-----------------------------------------------------------------------------
*/

.footer-wrap {
  position: relative;
  z-index: 99;
  width: 100%;
  height: auto;
  color: var(--color__light);
}

.footer-wrap__inner {
  padding: 2em;
}

.footer-wrap__inner .box ul {
  list-style-type: none;
  padding-left: 0;
}

.footer-wrap__inner .box ul li {
  padding-top: 0.15em;
  padding-bottom: 0.15em;
  margin-block-start: 0;
  margin-block-end: 0;
}

.footer-wrap__inner .box ul li:first-child {
  color: var(--color__secondary--bright);
}

body.bg--primary .footer-wrap__inner .box ul li:first-child {
  color: var(--color__secondary);
}

.footer-wrap__inner .box ul li a,
.footer-wrap__inner .button span {
  color: var(--color__primary);
}

body.bg--primary .footer-wrap__inner .box ul li a,
body.bg--primary .footer-wrap__inner .button span {
  color: var(--color__light);
}

.footer-wrap__inner .box:last-child {
  text-align: right;
}

.site-footer .logo-short svg {
  height: 2rem;
  width: auto;
  border-bottom: 2px solid transparent;
  width: auto;
}

body.bg--primary .site-footer .logo-short path {
  fill: var(--color__light);
}

footer .flex-wrap span a {
  color: var(--color__secondary--bright);
  text-decoration: none;
  border: none;
  margin-right: 2rem;
}

.footer-wrap__inner .button {
  display: inline-block;
}

/****** Splide */

.splide.splide-panorama {
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
}

.splide.splide-panorama .splide__slide {
  width: auto;
  cursor: pointer;
  padding: 0 1rem;
}

.splide.splide-panorama .covered-image-wrap {
  width: 100%;
}

.splide-panorama .splide__list {
  box-sizing: content-box;
}

.splide-panorama .splide__track {
  overflow: visible;
}

/* 03. SPLIDE / LIGHTBOX *******************************************************************************/

.lightbox__splide {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  /* height: calc(100% - 6.25rem); */
  height: 100%;
  z-index: 999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: center;
  justify-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
}

.lightbox__splide .splide--default-lightbox {
  width: 100%;
  height: auto;
  padding: 0 4.75em;
}

.lightbox__splide .lightbox__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color__accent_light);
  opacity: 0.9;
}

.lightbox__splide .lightbox__close {
  position: absolute;
  top: 0;
  right: 0;
  margin: 1em;
  cursor: pointer;
}

.lightbox__splide .lightbox__close .icon-close {
  font-size: var(--fsize__h3);
  color: var(--color__primary);
  display: inline-block;
  padding: 0.5em;
}

.lightbox__splide .lightbox__inner {
  width: 100%;
  height: auto;
  padding: 1.25em;
  max-width: 86rem;
  display: flex;
  display: -webkit-box;
  display: -ms-flexbox;
  align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
}

.lightbox__splide .lightbox__inner img {
  width: 100%;
  height: auto;
  object-fit: cover;
  -o-object-fit: cover;
  background-color: var(--color__accent_light);
  -o-object-position: center center;
  object-position: center center;
  max-height: 85vh;
}

.lightbox__splide .nav-button {
  position: absolute;
  top: 50%;
  padding: 1em;
  border-radius: 0.2em;
  translate: 0 -2em;
  font-size: 1.5rem;
  cursor: pointer;
}

.lightbox__splide .nav-button.prev-slide {
  left: 0;
}

.lightbox__splide .nav-button.next-slide {
  right: 0;
}

.lightbox__splide .nav-button span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

/* MINI-DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 80em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* --fsize__h1: 4.5rem; */
  }

  html,
  body {
    font-size: min(1em, 1.6vw);
  }

  .button--redmin.h4 {
    font-size: calc(var(--fsize__h3) * 0.8);
  }

  /* body.bg--primary .footer-wrap__inner .box ul li,
  body.bg--primary .footer-wrap__inner .box ul li a {
    font-size: calc(var(--fsize__h3) * 0.8);
  } */

  .footer-wrap__inner .box:last-child {
    text-align: left;
  }
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 55em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/
  :root {
    /* --fsize__h1: 4rem; 
    --fsize__h3: 1.7em;*/
  }

  html,
  body {
    font-size: min(1em, 2vw);
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    margin-top: 0;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  footer.site-footer {
    margin-bottom: 5rem;
  }
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 36em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* ***** Font Sizes */
    /* --fsize__h1: 3.6rem; */
    /* --fsize__h2: 2.9rem; */

    --fsize__p: 1.25rem;
    --fsize__s: 1rem;

    /* ***** Icon Sizes */
    --isize__small: 2.5rem;
    --isize__regular: 3rem;
    --isize__large: 5rem;

    --innerwrap__px: 3.5rem;
  }

  html,
  body {
    font-size: min(1em, 2.325vw);
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    margin-top: 0;
    /* Space to Navigation */
  }

  .sec-wrap__inner {
    padding: 1.25em 1.5625em;
  }

  /**/

  .text-2-columns {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
  }

  .text-3-columns {
    column-count: 1;
    -webkit-column-count: 1;
    -moz-column-count: 1;
    -ms-column-count: 1;
  }

  .button--redmin.h4 {
    font-size: calc(var(--fsize__h3) * 0.8);
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  footer .flex-wrap span a {
    margin-right: 1rem;
  }
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 27em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    /* ***** Font Sizes */
    /* --fsize__p: 1.5rem; */
    --fsize__s: 1.175rem;
  }

  html,
  body {
    font-size: min(1em, 2.375vw);
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */
}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */

/* Printer */

@media print {
  @page {
    margin: 1cm;
  }

  header,
  nav,
  footer {
    display: none;
  }

  img {
    max-width: 31.25em;
    visibility: visible !important;
  }
}
