/* -------------- */
/* SETUP */
/* DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE*/
/* SPECIAL BREAKPOINTS */
/* -------------- */

/* COLORS:
*  yellow: #000
*  brown:  #29201d
*/

/* SETUP //////////////////////////////////////////////////////////////// */

:root {
  /* Default Colors: */
  --color__dark: #000;
  --color__light: #ffffff;

  --color__primary: #033d32;
  --color__secondary: #009e54;
  --color__accent: #edf0b2;

  --fsize_h1: 2.5rem;
  --fsize_h2: 2rem;
  --fsize_p: 1.125rem;
  --fsize_m: 0.85rem;
  --fsize_xs: min(0.85rem, 1.125vw);
}

/* FONTS – LICENSED TO AGS Basel Publikationen *******************************************************************************/

@font-face {
  font-family: "Supreme-Regular";
  src: url("/font/Supreme-Regular.woff2") format("woff2"),
    url("/font/Supreme-Regular.woff") format("woff"),
    url("/font/Supreme-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Supreme-Bold";
  src: url("/font/Supreme-Bold.woff2") format("woff2"),
    url("/font/Supreme-Bold.woff") format("woff"), url("/font/Supreme-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Supreme-Extrabold";
  src: url("/font/Supreme-Extrabold.woff2") format("woff2"),
    url("/font/Supreme-Extrabold.woff") format("woff"),
    url("/font/Supreme-Extrabold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
  font-style: normal;
}

/* Interactions */

::selection {
  background: #000;
  color: #fff !important;
}

::-moz-selection {
  background: #000;
  color: #fff !important;
}

.main-flow,
.main-flow a {
  transition: all 0.3s ease-out;
}

/**** Hide Play button + controls on iOS */

video::-webkit-media-controls {
  display: none !important;
}

/* Fonts */

/* Loading FOUT */

.wf-loading p,
.wf-loading a,
.wf-loading h1,
.wf-loading h2,
.wf-loading h3,
.wf-loading h4 {
  visibility: hidden;
}
.wf-active p,
.wf-active a,
.wf-active h1,
.wf-active h2,
.wf-active h3,
.wf-active h4 {
  visibility: visible;
}
.wf-inactive p,
.wf-inactive a,
.wf-inactive h1,
.wf-inactive h2,
.wf-inactive h3,
.wf-inactive h4 {
  visibility: visible;
}

body {
  font-family: "Supreme-Regular", sans-serif;
  color: var(--color__dark);
  background-color: var(--color__light);
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}

h1,
.h1 {
  font-family: "Supreme-Bold", sans-serif;
  font-weight: 700;
  font-size: var(--fsize_h1);
  line-height: 1.25em;
  letter-spacing: 0em;
  color: var(--color__dark);
  hyphens: manual;
  overflow: visible;
  margin-top: 0;
  margin-bottom: 2.5rem;
}

h2,
.h2 {
  font-family: "Supreme-Bold", sans-serif;
  font-weight: 700;
  font-size: var(--fsize_h2);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--color__dark);
  text-decoration: none;
  hyphens: manual;
  overflow: visible;
}

h3,
.h3 {
  font-family: "Supreme-Bold", sans-serif;
  font-weight: 700;
  font-size: var(--fsize_h3);
  line-height: 1.25;
  letter-spacing: 0em;
  color: var(--color__dark);
  text-decoration: none;
  hyphens: manual;
  overflow: visible;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Supreme-Bold", sans-serif;
  font-weight: 700;
  font-size: var(--fsize_h4);
  line-height: 1.25;
  letter-spacing: 0em;
  margin-top: 0.7em;
  margin-bottom: 0.5em;
  color: var(--color__dark);
  text-decoration: none;
  hyphens: manual;
  overflow: visible;
}

p,
.p,
li,
p a,
.p a,
address {
  font-family: "Supreme-Regular", sans-serif;
  font-weight: 400;
  font-size: var(--fsize_p);
  line-height: 1.375em;
  letter-spacing: 0;
  hyphens: none;
}

strong,
b {
  font-family: "Supreme-Bold", sans-serif;
  font-weight: 700;
  hyphens: none;
}

address {
  font-style: normal;
  /* font-size: var(--fsize_m); */
}

.fsize--xs {
  font-size: var(--fsize_xs);
}

.fsize--marginal {
  font-size: var(--fsize_m);
  display: inline-block;
}

.fsize--marginal a {
  font-size: var(--fsize_m);
}

/* Spacing */

.nowrap {
  white-space: nowrap;
}

html {
  height: 100%;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

body {
  position: relative;
  min-height: 100%;
  background: var(--color__light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
  -ms-font-smoothing: antialiased;
  -o-font-smoothing: antialiased;
}

/* 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: none; /* Firefox */
}

.mt0 {
  margin-top: 0;
}

/* Hide Comments and others */

.cat-links,
.entry-footer {
  display: none;
}

/* Links */
p a,
strong a {
  text-decoration: none;
  padding: 0px 0px 1px 0px;
  position: relative;
}

p a strong,
p a b {
  padding: 0px 0px 0px 0px !important;
  font-weight: 800;
}

a,
a:hover,
a:active {
  color: var(--color__dark);
  text-decoration: none;
  pointer-events: all;
  cursor: pointer;
}

a.noborder,
a.noborder:hover {
  border-bottom: none;
}

a.marker,
a.marker:hover,
.marker {
  background: #edf0b2;
  color: #fff;
  padding: 2px 8px;
  margin-bottom: 3px;
  display: inline-block;
  border-bottom: none;
  transform: skew(-10deg);
}

/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Inner Content
*/

/*
-----------------------------------------------------------------------------

01. Presets

-----------------------------------------------------------------------------
*/

/* Layout */

main {
  display: table-cell !important;
  vertical-align: middle;
  height: 100vh;
  position: relative;
  overflow: hidden !important;
  position: relative;
  z-index: 2;
}

.sec-wrap {
  width: 100vw;
  height: auto;
  position: relative;
}
.sec-wrap.bg--gray {
  background: #fff;
}
.sec-wrap.bg--gray .hollow {
  color: #fff;
}

.sec-wrap__inner {
  width: 100%;
  height: auto;
  max-width: 160rem; /* SPACE-SETUP */
  margin: auto;
  padding: 2.75em 2.875em; /* SPACE-SETUP */
  position: relative;
}

.sec-wrap__inner.slim {
  max-width: 45rem;
}

.sec-wrap__inner.slimmer {
  max-width: 36rem;
}

.sec-wrap__inner.slim-af {
  max-width: 25rem;
}

.sec-wrap .sec-wrap__inner ~ h1,
.sec-wrap.bg-half-width h1,
.single-post h1 {
  padding-top: 50px;
}
.single-post h1 {
  hyphens: auto;
}

.sec-wrap__inner .grid-wrap.two-columns .box:nth-of-type(1) {
  padding-right: 50px;
}
.sec-wrap__inner .grid-wrap.two-columns .box:nth-of-type(2) {
  padding-left: 50px;
}

/**** Text */

.text-2-columns {
  column-count: 2;
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -ms-column-count: 2;
  column-gap: 35px; /* SPACE-SETUP */
  -webkit-column-gap: 35px; /* SPACE-SETUP */
  -moz-column-gap: 35px; /* SPACE-SETUP */
  -ms-column-gap: 35px; /* SPACE-SETUP */
  margin: 35px 0;
}

.text-3-columns {
  column-count: 3;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  -ms-column-count: 3;
  column-gap: 30px; /* SPACE-SETUP */
  -webkit-column-gap: 30px; /* SPACE-SETUP */
  -moz-column-gap: 30px; /* SPACE-SETUP */
  -ms-column-gap: 30px; /* SPACE-SETUP */
}

/**/

.centered-text,
.centered-text * {
  text-align: center;
}

/**** Centered Image */

.centered-image-wrap {
  width: 100%;
  margin: auto;
  height: 450px; /* SPACE-SETUP */
  position: relative;
  overflow: hidden;
}

.centered-image-wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-right: -50%;
  transform: translate(-50%, -50%);
}

.centered-image-wrap.full img {
  width: 100%;
}

/****** Header */
header {
  z-index: 1;
  position: fixed;
  top: 0;
  left: 0;
  height: min(30rem, 50vh);
  width: 100vw;
  object-fit: cover;
}

header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.5);
  object-fit: cover;
}

/****** Footer */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

footer .sec-wrap__inner {
  max-width: unset;
}

footer address span,
footer address a {
  line-height: 1.375em;
}

footer address {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
}

footer address .contact-info {
  margin-top: 2em;
  display: flex;
  gap: 7em;
}

footer address .contact-info div {
  display: flex;
  flex-direction: column;
}

footer img.bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.25);
}

/*
-----------------------------------------------------------------------------

02. Inner Content

-----------------------------------------------------------------------------
*/

svg.logo {
  max-width: 480px;
  margin: 40px auto 120px auto;
  display: block;
}

.flex-wrap {
  display: flex;
}

/**/

.sec-wrap__inner.no-padding {
  padding: 20px 0;
}

.sec-wrap .box p {
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  margin: 0;
  line-height: 1.2em;
}

.sec-wrap .box:nth-of-type(1) {
  padding: 0 10px 0 0;
}

.sec-wrap .box:nth-of-type(2) {
  padding: 0 0 0 10px;
}

/****** Button */

.button {
  z-index: 1;
  position: relative;
  display: inline-block;
  padding: 0.625em 2em;
  pointer-events: all;
}

.button::before {
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-clip-path: polygon(20% 0, 100% 0, 100% 60%, 80% 100%, 0 100%, 0 40%);
  clip-path: polygon(20% 0, 100% 0, 100% 60%, 80% 100%, 0 100%, 0 40%);
  background-color: var(--color_purple);
}

.centered-button {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Inner Content
*/

@media only screen and (max-width: 55em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  :root {
    --fsize_h1: 2.2rem;
    --fsize_h2: 2rem;
    --fsize_p: 1.125rem;
    --fsize_m: 0.875rem;
    --fsize_xs: 0.625rem;
  }

  header img {
    /* transform: scale(2); */
  }

  /* Layout */

  .sec-wrap .sec-wrap__inner ~ h1,
  .sec-wrap.bg-half-width h1,
  .single-post h1 {
    padding-top: 30px;
  }

  .sec-wrap.bg-full-width h1 {
    bottom: -30px;
  }

  .sec-wrap__inner.slimmer,
  .sec-wrap__inner.slim-tablet {
    max-width: 650px;
    margin: 0 auto;
  }

  .sec-wrap__inner .grid-wrap.two-columns .box:nth-of-type(1) {
    padding-right: 0px;
  }
  .sec-wrap__inner .grid-wrap.two-columns .box:nth-of-type(2) {
    padding-left: 0px;
  }

  .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;
  }

  .gallery-slider {
    height: initial;
  }
  .gallery-slider__images .item .img-fill {
    height: 40vw;
  }
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Navigation
03. Footer
04. Inner Content
05. NoScript / Cookie Banner
*/

@media only screen and (max-width: 36em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  :root {
    --fsize_h1: 1.75rem;
    --fsize_h2: 1.5rem;
    --fsize_p: 0.9375rem;
    --fsize_m: 0.85rem;
  }

  h1 {
    margin-bottom: 1.25rem;
  }

  h3 {
    font-size: 25px;
  }

  /* Layout */

  main {
    padding-bottom: 11rem;
  }

  header img {
    /* transform: scale(2.5); */
  }

  .sec-wrap__inner {
    padding: 1.75em 1.5em;
  }

  footer address .contact-info {
    gap: min(6em, 10vw);
  }

  /*
  -----------------------------------------------------------------------------

  04. Inner Content

  -----------------------------------------------------------------------------
  */

  svg.logo {
    max-width: 80%;
  }
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Navigation
03. Footer
04. Inner Content
05. NoScript / Cookie Banner
*/

@media only screen and (max-width: 27em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  :root {
    --fsize_h1: 1.25rem;
  }

  /* Layout */

  main {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .sec-wrap__inner {
    padding: 1.5em 1.25em;
  }

  header {
    height: min(15rem, 35vh);
  }
}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */

/* Printer */

@media print {
  @page {
    margin: 1cm;
  }

  header,
  nav,
  footer {
    display: none;
  }

  img {
    max-width: 500px;
    visibility: visible !important;
  }
}
