/*
Theme Name: bf_bm
Author: Wolfgang Schellnast
Author URI: https://www.bureauf.com
Description: Responsive Theme for bureau f
Version: 1.0
*/

* {
  box-sizing: border-box;
}

body {
  font-family: "Sono";
  font-weight: normal;
  background-color: #f6ede1;
  color: #000;
}

h1,
h2,
h3 {
  font-family: "Ortica";
}

h2 {
  font-size: clamp(45px, 5vw, 92px);
  font-weight: 400;
  margin: 50px 0;
}

h3 {
  font-size: 2rem;
  font-weight: 400;
}

p {
  font-size: clamp(15px, 3vw, 23px);
  margin: 0.8rem 0;
}

p.big {
  font-size: clamp(20px, 3vw, 40px);
}

.oeffnungs p {
  font-size: clamp(20px, 2vw, 40px);
}

a {
  color: inherit;
  text-decoration: none;
}

/* HELPERS */
.img-fluid {
  width: 100%;
  height: auto;
}

.h90 {
  min-height: 90vh;
}

.h100 {
  min-height: 100vh;
}

.trenner {
  margin: 100px 0;
}

.icon {
  width: 3.5vw;
  height: auto;
}

.nowrap {
  white-space: nowrap;
}

.desktop-hide {
  display: none !important;
}

@media (max-width: 768px) {
  h2 {
    margin: 25px 0;
  }
  .mobile-hide {
    display: none;
  }
  .desktop-hide {
    display: flex !important;
  }
}

/* POPUP */
#popup {
  display: none;

  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  z-index: 1000;
  top: 0;
}

#popup .inner {
  position: relative;
  width: 350px;
  height: auto;
  padding: 40px;
  background-color: #f6ede1;
  display: flex;
  flex-flow: column;
  align-items: center;
  border-radius: 10px;
}

#popup .inner .heading {
  display: block;
  text-align: center;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-size: 1.8rem;
  letter-spacing: 0.15rem;
  font-family: "Ortica";
}

#popup .inner .text {
  display: block;
  padding-top: 1rem;
  /* padding-bottom: 1rem; */
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.1rem;
  line-height: 1.3rem;
}

#popup .inner hr {
  width: 100%;
  height: 1px;
  background-color: black;
  border: none;
}

#popup .inner a.button-mobile {
  display: block;
  border: 2px solid #000;
  padding: 12px 30px;
  color: #000;
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.2rem;
  box-sizing: border-box;
  text-align: center;
  padding: 10px;
  width: 100%;
}

@media (max-width: 650px) {
  #popup .inner {
    width: 80vw;
    padding: 40px 20px 20px;
    box-sizing: border-box;
  }

  #popup .inner .heading {
    font-size: 1rem;
  }

  #popup .inner .text {
    font-size: 0.8rem;
    line-height: 1.1rem;
    padding-bottom: 1rem;
  }
}

/* MENU BAR TOP*/
.menu-header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;

  background-color: #f6ede1;
}

.menu-header .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 50px;
}

.menu-header .inner > div {
  flex: 1;
}

.menu-header div:nth-child(1) a {
  font-size: 40px;
  font-family: "Ortica";
}

.menu-header div.logo {
  text-align: center;
}

.logo img {
  width: 130px;
}

.menu-header div.menu-icon {
  text-align: right;
}

.menu-icon img {
  width: 50px;
  height: auto;
}

#menu .menu-icon img {
  width: 40px;
  margin-right: 5px;
}

/* MENU MAIN */
#menu {
  position: fixed;
  z-index: 110;
  top: 0;
  right: 0;
  width: 40%;
  min-width: 650px;
  min-height: 100vh;
  background-color: #82813b;

  opacity: 0;
  visibility: hidden;
  transition: all 350ms ease-in-out;

  display: flex;
  align-items: center;
}

.menu-active #menu {
  opacity: 1;
  visibility: visible;
}

#menu .menu-toggle {
  position: absolute;
  right: 50px;
  top: 50px;
}

ul#primary-menu {
  list-style: none;
  padding-left: 15%;
}

ul#primary-menu li a {
  font-family: "Ortica";
  font-size: clamp(35px, 4vw, 78px);
  color: #f6ede1;
  line-height: 1.3;
}

ul#primary-menu li.bubble a {
  color: #82813b;
  background-color: #f6ede1;
  font-size: clamp(20px, 4vw, 34px);
  line-height: 1;

  text-align: center;
  display: inline-block;
  min-width: 260px;

  border-radius: 54%;
  padding: 2rem 0rem;
  margin: 1rem 0 3.5rem;
}

@media (max-width: 768px) {
  #menu {
    min-width: 100vw;
  }

  #menu .menu-toggle {
    position: absolute;
    right: 25px;
    top: 20px;
  }

  #menu .menu-icon img {
    width: 30px;
  }
  .menu-icon img {
    width: 40px;
  }

  ul#primary-menu {
    padding-left: 0;
    text-align: center;
    width: 100%;
  }
  ul#primary-menu li a {
    line-height: 1.8;
  }
  ul#primary-menu li.bubble a {
    min-width: 150px;
    padding: 1.5rem 0;
    margin: 1rem 0 1.5rem;
  }
  .menu-header div.logo {
    text-align: left;
  }

  .menu-header .logo a {
    display: flex;
  }
  .menu-header .logo img {
    width: 75px;
  }

  .menu-header .inner {
    padding: 10px 25px;
  }

  .menu-header .menu-icon {
    display: inline-flex;
    justify-content: flex-end;
  }

  .menu-header a.menu-toggle {
    display: flex;
    justify-content: flex-end;
  }
}

/* SECTIONS */

section.top {
  background-image: url("images/front-header.jpg");
  background-size: cover;
  background-position: center center;
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  z-index: 100;
}

section.top img.logo {
  width: 37%;
  height: auto;
}

section.top .menu-header {
  position: absolute;
  top: 0;
  left: 0;

  background-color: transparent;
  color: #f6ede1;
}

section.top .menu-header .logo img {
  visibility: hidden;
}

section.cols {
  display: flex;
  align-items: center;
  padding: 70px 140px;
}

section.cols .inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0;

  width: 100%;
}

section.cols.text-right .inner > div:nth-child(1) {
  padding-right: 25%;
}

section.cols.text-right .inner > div:nth-child(2),
section.cols.text-left .inner > div:nth-child(1) {
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  padding-bottom: 2rem;
}

section.cols.text-left .inner > div:nth-child(2) {
  padding-left: 25%;
}

/* ÖFFNUNGSZEITEN */
section.oeffnungs {
  color: #f6ede1;
  background-color: #a74b36;
  padding: 70px 140px;
  font-family: "Ortica";
}

section.oeffnungs .inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 4rem;
}

section.oeffnungs .inner > div:nth-child(1) {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}

section.oeffnungs .inner > div:nth-child(2) {
  position: relative;
}

section.oeffnungs .inner > div:nth-child(1) p:last-of-type {
  margin-bottom: 0;
}

section.oeffnungs h2 {
  margin-bottom: 0;
}

section.oeffnungs a.button {
  background-color: #f6ede2;
  color: #a74b36;
  /* font-size: clamp(20px, 4vw, 34px); */
  font-size: 34px;
  line-height: 1;
  text-align: center;
  display: inline-block;
  border-radius: 54%;
  padding: 2.5rem 2rem;
  margin: 1rem 0 2.5rem;

  position: absolute;
  bottom: 10%;
  left: -20%;
}

a.button.button-green {
  font-family: "Ortica";
  color: #f6ede1;
  background-color: #82813b;
  font-size: clamp(20px, 4vw, 34px);
  line-height: 1;

  text-align: center;
  display: inline-block;
  min-width: 220px;

  border-radius: 54%;
  padding: 2rem 0rem;
  margin: 2rem 0;
}

.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* OWL CAROUSEL */
.slider-container {
  min-width: 100%;
  height: auto;
}

.slider {
  position: relative;
  display: block;
  width: 100%;
  min-width: 100%;
  height: auto;
}

.owl-theme .owl-dots .owl-dot span {
  background: #f1cfd8;
  opacity: 1;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
  background: #81813c;
}

.owl-nav {
  display: flex;
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  padding: 0;
}

.owl-nav button {
  flex: 1;
}

.owl-theme .owl-nav [class*="owl-"] {
  margin: 0;
}

.owl-theme .owl-nav {
  margin-top: 0;
}

.owl-theme .owl-dots {
  margin-top: 15px;
  position: relative;
}

.owl-theme .owl-nav [class*="owl-"]:hover {
  background: transparent;
  text-decoration: none;
}

.owl-theme .owl-nav button span {
  visibility: hidden;
}

@media (max-width: 1100px) {
  section.cols,
  section.oeffnungs {
    padding: 50px;
  }
}

@media (max-width: 768px) {
  .trenner {
    margin: 50px 0 0;
    /* width: 146%; */
    overflow: hidden;
  }
  .icon {
    width: 5.5vw;
    display: block;
    margin: 0 auto;
    margin-top: 0.5rem;
  }
  .d-only {
    display: block;
    visibility: hidden;
    font-size: 0;
  }
  .slider {
    padding: 0 35px !important;
  }
  section.cols {
    padding: 25px 35px;
  }
  section.cols.text-right .inner > div:nth-child(1) {
    padding-right: 0;
  }
  section.cols.text-left .inner > div:nth-child(2) {
    padding-left: 0;
  }
  section.cols.text-right .inner > div:nth-child(2) {
    order: -1;
  }
  section.cols .inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  section.cols .inner p {
    text-align: left;
  }

  section.top img.logo {
    width: 100%;
    padding: 0 35px;
  }
  /* Section Oeffnungszeiten */
  section.oeffnungs h2 {
    font-size: 35px;
  }
  section.oeffnungs {
    padding: 20px 20px 40px;
    text-align: center;
    background: linear-gradient(to bottom, #a74b36 70%, transparent 30%);
    margin-bottom: 12%;
    margin-top: 10%;
  }
  section.oeffnungs .inner {
    grid-template-columns: 1fr;
    grid-gap: 15%;
    line-height: 1.45;
  }
  section.oeffnungs .inner > div:nth-child(2) {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 45px;
  }
  section.oeffnungs a.button {
    left: unset;
    bottom: unset;
    top: -90px;
  }
  .button-container {
    margin-bottom: -30%;
    z-index: 1;
  }
  a.button.button-green {
    min-width: unset;
    padding: 1.5rem 2rem;
  }
}

/* PAGE IMPRESSUM */
.page-offset {
  margin-top: 80px;
}

.page-image-offset {
  margin-top: 25%;
}

@media (max-width: 768px) {
  .page-offset {
    margin-top: 50px;
  }
  .page-image-offset {
    margin-top: 0;
  }
}

/* PAGE RESERVIERUNG */
.page-template-page-reservierung section.cols {
  padding-bottom: 0;
}

.page-template-page-reservierung section.cols .inner {
  text-align: center;
  grid-template-columns: 1fr;
}

/* FOOTER */
footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 70px 140px;
  margin-top: 70px;
  align-items: center;

  font-size: clamp(30px, 3vw, 40px);
  font-family: "Ortica";
  color: #f6ede1;
  background-color: #82813b;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.5;

  display: flex;
  flex-flow: column;
  justify-content: space-between;

  height: 100%;
}

footer > div {
  height: 100%;
}

ul#footer-2 {
  text-align: right;
  padding: 0;
}

ul#footer-2 li.big {
  flex: 1;
  margin-bottom: 0.6rem;
}

ul#footer-2 > li.small {
  line-height: 1;
}

ul#footer-2 > li.small ~ li.small {
  line-height: 1.5;
}

footer img.logo {
  /* width: 295px; */
  width: 20vw;
  height: auto;
  max-width: 320px;
}

footer div:nth-child(2) {
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .small {
  font-size: clamp(25px, 3vw, 34px);
}

@media (max-width: 1350px) {
  footer {
    padding: 50px;
  }
}

@media (max-width: 768px) {
  footer {
    display: flex;
    flex-flow: column;
    padding: 35px;
    margin-top: 30px;
  }
  ul#footer-1 {
    margin-top: 2rem;
  }
  ul#footer-2,
  ul#footer-1 {
    text-align: center;
    font-size: 25px;
    line-height: 1.8;
  }
  ul#footer-2 > li:nth-child(2) {
    margin-bottom: 2rem;
  }

  footer > div:nth-child(2) {
    order: -1;
  }

  footer img.logo {
    width: 150px;
    height: auto;
  }
  footer .small {
    font-size: 20px;
    line-height: 1.3;
  }
}

/* FONTS */
@font-face {
  font-family: "Sono";
  src: url("fonts/SonoMonospace-Regular.woff") format("woff2"),
    url("fonts/SonoMonospace-Regular.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Ortica";
  src: url("fonts/OrticaLinear-Regular.woff") format("woff2"),
    url("fonts/OrticaLinear-Regular.woff2") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: block;
}
