/* //////////////////////

REPLACE-GUIDE:
--> XXXXXXXXXXXXXXXXXXXX (Firmenname)
--> rename path in robots.txt (root)

////////////////////// */

/* -------------- */
/* SETUP */
/* DESKTOP */
/* MINI-DESKTOP */
/* TABLET */
/* MOBILE */
/* MINI-MOBILE */
/* SPECIAL BREAKPOINTS */
/* -------------- */

/* SETUP //////////////////////////////////////////////////////////////// */

:root {
  /* Default Colors */
  --color_darkGrey: #596363;
  --color_grey: #f1f1f1;
  --color_lightGrey: #e8e8e2;
  --color_black: #000000;
  --color_white: #ffffff;
  --color_white-transp: hsla(0, 0%, 100%, 0.373);

  /* Corporate Colors: */
  --color_primary: #4b4b55;
  --color_secondary: #533128;
  --color_accent: #d5752f;
  --color_accentLight: #ffe7da;
  --color_darkBase: #e5e5de;
  --color_base: #f6f6f1;

  /* System */
  --color_green: #00871b;
  --color_orange: #fea137;
  --color_red: #cd0000;

  /* Font Sizes */
  --fsize_h1: 6rem;
  --fsize_h2: 3rem;
  --fsize_h3: 2.8rem;
  --fsize_h4: 2.8rem;
  --fsize_h5: 2.8rem;
  --fsize_h6: 2.8rem;
  --fsize_p: 1.4rem;
  --fsize_s: 0.9rem;

  /* Borders */
  --border_link: 0.1rem solid var(--color_primary);
  --border_regular: 0.1rem solid var(--color_primary);
  --borderRadius_regular: 12.5em;
}

/* FONTS – LICENSED TO IAMANEH *******************************************************************************/

/* not licensed */
/* @font-face {
  font-family: "Theinhardt Light";
  src: url("/wp-content/themes/oho/font/Theinhardt-Light.eot");
  src: url("/wp-content/themes/oho/font/Theinhardt-Light.eot?#iefix")
      format("embedded-opentype"),
    url("/wp-content/themes/oho/font/Theinhardt-Light.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/Theinhardt-Light.woff") format("woff");
  font-weight: 200;
  font-style: normal;
} */

@font-face {
  font-family: "Theinhardt Thin";
  src: url("/wp-content/themes/oho/font/Theinhardt-Thin.eot");
  src: url("/wp-content/themes/oho/font/Theinhardt-Thin.eot?#iefix")
      format("embedded-opentype"),
    url("/wp-content/themes/oho/font/Theinhardt-Thin.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/Theinhardt-Thin.woff") format("woff");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "Theinhardt Regular";
  src: url("/wp-content/themes/oho/font/Theinhardt-Regular.eot");
  src: url("/wp-content/themes/oho/font/Theinhardt-Regular.eot?#iefix")
      format("embedded-opentype"),
    url("/wp-content/themes/oho/font/Theinhardt-Regular.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/Theinhardt-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Theinhardt Medium";
  src: url("/wp-content/themes/oho/font/Theinhardt-Medium.eot");
  src: url("/wp-content/themes/oho/font/Theinhardt-Medium.eot?#iefix")
      format("embedded-opentype"),
    url("/wp-content/themes/oho/font/Theinhardt-Medium.woff2") format("woff2"),
    url("/wp-content/themes/oho/font/Theinhardt-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

body {
  font-family: "Theinhardt Thin", sans-serif;
  font-weight: 200;
  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;
}

h1,
.h1 {
  font-family: "Theinhardt Thin", sans-serif;
  font-weight: 200;
  text-transform: uppercase;
  font-size: var(--fsize_h1);
  line-height: 1em;
  letter-spacing: 0em;
  color: var(--color_primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
  margin-left: -0.05em;
  /* optischer randausgleich */
}

h2,
.h2 {
  font-family: "Theinhardt Medium", sans-serif;
  font-weight: 500;
  font-size: var(--fsize_h2);
  line-height: 1.1em;
  letter-spacing: 0em;
  color: var(--color_primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

h4,
.h4 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

h3,
h4,
h5,
h6,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Theinhardt Medium", sans-serif;
  font-weight: 500;
  font-size: var(--fsize_h3);
  line-height: 1.1em;
  letter-spacing: 0em;
  color: var(--color_primary);
  text-decoration: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

p,
li,
p a,
.p,
.p a {
  font-family: "Theinhardt Thin", sans-serif;
  font-weight: 200;
  font-size: var(--fsize_p);
  line-height: 1.45em;
  letter-spacing: 0.008em;
  color: var(--color_primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* ––– */

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;
}

ul.dotted li {
  border-bottom: 0.1rem dotted var(--color_primary);
}

/* ––– */

strong,
b {
  font-family: "Theinhardt Medium", sans-serif;
  font-weight: 500;
  color: var(--color_primary);
  -webkit-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

/* ––– */

blockquote {
  margin: 0;
}

/***** 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: "Theinhardt Medium", sans-serif;
  font-weight: 500;
  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_link);
  padding: 0em 0em 0.0625em 0em;
}

p a:hover,
.p a:hover {
  cursor: pointer;
  border-bottom: var(--border_link);
  color: var(--color_primary);
}

p a strong,
p a b,
.p a strong,
.p a b {
  padding: 0;
  font-weight: 700;
}

a,
a:visited,
a:hover,
a:active {
  color: var(--color_primary);
  text-decoration: none;
  cursor: pointer;
}

/***** Fake links  */

.underline {
  cursor: pointer;
  border-bottom: var(--border_link);
}

/***** Buttons */

.button {
  font-family: "Theinhardt Medium", sans-serif;
  font-weight: 500;
  background: unset;
  color: var(--color_accent);
  border-radius: 0;
  padding: 0.3em 0.6rem 0.3em;
  border: 0.1rem solid var(--color_accent);
  margin-top: 0em;
  display: inline-block;
  cursor: pointer;
  text-align: left;
}

.button.neg {
  color: var(--color_white);
  border: 0.1rem solid var(--color_white);
}

.button:hover {
  color: var(--color_white);
  background: var(--color_accent);
}

.button.neg:hover {
  color: var(--color_accent);
  background: var(--color_white);
}

/**/

.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_white);
}

::selection {
  background: var(--color_primary);
  color: var(--color_white);
}

*:focus {
  outline: none;
}

/* 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 */
}

/***** global spinner presets */

.spin-wrap {
  display: inline-block;
  overflow: hidden;
}

.spin-wrap .spin-char {
  display: inline-block;
  transform: translateY(110%);
}

/***** global excerpt reveal presets */

.excerpt .split-parent {
  overflow: hidden;
}

.excerpt .split-parent .split-child {
  transform: translateY(-100%);
}

/* MISC *******************************************************************************/

/***** hide stuff on specific breakpoints */

.no-lg {
  display: none;
}

/* DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

/*
-----------------------------------------------------------------------------

01. Presets

-----------------------------------------------------------------------------
*/

/* LAYOUT *******************************************************************************/

body {
  background: var(--color_base);
}

main {
  position: relative;
  overflow: hidden;
}

.main__inner {
  margin-top: 0;
  /* Space to Navigation */
}

.loader-panel {
  position: fixed;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  transform-origin: center top;
  top: 2em;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--color_accent);
  z-index: 9999;
  display: block;
}

body:not(.home) .loader-panel {
  visibility: hidden;
  pointer-events: none;
}

.sec-wrap {
  width: 100%;
  height: auto;
  position: relative;
}

.sec-wrap__inner {
  width: 100%;
  height: auto;
  max-width: 65em;
  margin: auto;
  padding: 1.25em 2em;
  position: relative;
}

.sec-wrap__inner.no-padding {
  padding: 0;
}

.sec-wrap__inner.full {
  max-width: 100%;
}

.sec-wrap__inner.plus {
  max-width: 80em;
}

.sec-wrap__inner.slim {
  max-width: 62.5em;
}

.sec-wrap__inner.slimmer {
  max-width: 50em;
}

.sec-wrap__inner.slim-af {
  max-width: 35em;
}

/***** Flex Container */

.flex-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

/***** 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 */

span.nobreak {
  white-space: nowrap;
}

span.shorten {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/**/

.centered-text h1,
.centered-text h2,
.centered-text h3,
.centered-text h4,
.centered-text h5,
.centered-text h6,
.centered-text p,
.centered-text span,
.centered-text a,
h1.centered-text,
h2.centered-text,
h3.centered-text,
h4.centered-text,
h5.centered-text,
h6.centered-text,
p.centered-text,
span.centered-text,
a.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: 20em;
  width: 100%;
}

.covered-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.covered-image-wrap figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1em;
  color: var(--color_white);
  z-index: 2;
}

.covered-image-wrap.covered-image-wrap--large {
  height: 25em;
  max-height: 50vw;
}

/***** Covered video wrap */

.covered-video-wrap {
  position: relative;
  overflow: hidden;
  height: 20em;
  width: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.covered-video-wrap video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

/***** Callout */

.callout {
  padding-left: 1em;
  border-left: 0.3em solid var(--color_accent);
}

/***** Place card */

.place-card.covered-image-wrap .title-wrap {
  position: absolute;
  padding: 0 1.5em;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  transform: translate3d(0, 0, 0);
}

.place-card.covered-image-wrap::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.65+100 */
  background: -moz-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#a6000000', GradientType=0);
  /* IE6-9 */
  transform: translate3d(0, 0, 0);
  z-index: 1;
  pointer-events: none;
}

a:hover .place-card .title-wrap h2 {
  color: var(--color_accent);
}

a.map-link.active .place-card .title-wrap h2 {
  color: var(--color_accent);
}

/***** Project section */

.project-section {
  border-bottom: 0.1rem dotted var(--color_primary);
}

/***** 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;
}

/**** 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_primary);
}

/**/

.footer-wrap a,
.footer-wrap a:visited,
.footer-wrap a:hover,
.footer-wrap a:active {
  color: var(--color_primary);
  border-bottom: 0;
}

.footer-wrap a:hover {
  border-bottom: 0.1rem solid var(--color_primary);
}

.footer-wrap img.label {
  width: 4rem;
  margin-left: auto;
  margin-right: 0;
  display: block;
}
.footer-wrap img.deza {
  width: 12rem;
}
.footer-wrap .deza-txt {
  display: block;
  font-size: 0.8rem;
  text-align: end;
  width: 100%;
}

/* MINI-DESKTOP //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 80em) {
}

/* TABLET //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 55em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  :root {
    --fsize_h1: 7vw;
  }

  /* MISC *******************************************************************************/

  h1 {
    font-size: var(--fsize_h1);
    line-height: 1.2em;
  }

  .no-md {
    display: none;
  }

  .no-lg {
    display: inherit;
  }

  span.no-lg {
    display: inline;
  }

  /* LAYOUT *******************************************************************************/

  .main__inner {
    margin-top: 0;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */
}

/* MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 36em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  :root {
    --swiper-navigation-size: 2rem;

    /* Font Sizes */
    --fsize_h2: 2.5rem;
    --fsize_h3: 2rem;
    --fsize_h4: 2rem;
    --fsize_h5: 2rem;
    --fsize_h6: 2rem;
    --fsize_p: 1rem;
    --fsize_s: 0.9rem;
  }

  h1,
  .h1,
  h2,
  .h2 {
    font-size: var(--fsize_h2);
    line-height: 1.1em;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
  }

  p,
  .p {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
  }

  .no-sm {
    display: none;
  }

  .no-md {
    display: inherit;
  }

  span.no-md {
    display: inline;
  }

  /* 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;
  }

  /***** Place card */

  .place-card.covered-image-wrap {
    height: 45vw;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */

  .footer__main {
    padding: 1.5625em;
  }

  .footer__main .box {
    padding: 1.25em 0;
  }

  .footer-wrap img.deza {
    width: 5rem;
  }
}

/* MINI-MOBILE //////////////////////////////////////////////////////////////// */
/*
01. Presets
02. Footer
*/

@media only screen and (max-width: 27em) {
  /*
  -----------------------------------------------------------------------------

  01. Presets

  -----------------------------------------------------------------------------
  */

  /* MISC *******************************************************************************/

  h3,
  .h3,
  h4,
  .h4,
  h5,
  .h5 {
    font-size: min(1.4rem, 6vw);
  }

  .no-xs {
    display: none;
  }

  .no-sm {
    display: inherit;
  }

  span.no-sm {
    display: inline;
  }

  /*
  -----------------------------------------------------------------------------

  02. Footer

  -----------------------------------------------------------------------------
  */
}

/* SPECIAL BREAKPOINTS //////////////////////////////////////////////////////// */

/* Printer */

@media print {
  @page {
    margin: 1cm;
  }

  header,
  nav,
  footer {
    display: none;
  }

  img {
    max-width: 31.25em;
    visibility: visible !important;
  }
}
