/* eb-garamond-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/eb-garamond-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  src: url('../webfonts/eb-garamond-v31-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  src: url('../webfonts/eb-garamond-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  src: url('../webfonts/eb-garamond-v31-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  src: url('../webfonts/eb-garamond-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 700;
  src: url('../webfonts/eb-garamond-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 700;
  src: url('../webfonts/eb-garamond-v31-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* eb-garamond-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 800;
  src: url('../webfonts/eb-garamond-v31-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: 'EB Garamond';
  background-color: #fbfbf8;
  color: #212529;
}

a {
  color: #9c0000;
}

.scroll_top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  font-size: 40px;
  color: #9c0000;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s;
  display: none;
  z-index: 8;
}

.scroll_top a,
.scroll_top a:hover {
  color: #9c0000;
}

.scroll_top:hover {
  opacity: 1;
}

main {
  min-height: calc(100vh - 332px);
}

/* Header */

header {
  padding: 15px 0;
  border-bottom: 3px solid #9c0000;
  text-align: right;
}

header ul {
  text-align: right;
  margin: 0;
  padding: 0;
}

header ul li {
  display: inline-block;
  list-style: none;
  margin-left: 15px;
}

header ul li a {
  color: inherit;
  transition: all 0.3s;
}

header ul li a:hover {
  color: #9c0000;
  text-decoration: none;
}

.mobile_nav_open {
  display: none;
  font-size: 25px;
  color: #9c0000;
  cursor: pointer;
}

/* Sections */

section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

section.has_decoration {
  min-height: 750px;
}

section.has_decoration::before {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50% 22% 40% 80%;  
  filter: blur(100px);
  background: radial-gradient(circle at 50% 50%,rgba(161, 14, 14, 0.5), rgba(161, 14, 14, 0));
  content: '';  
  opacity: 0.5;
}

section.has_decoration:nth-child(even)::before {
  left: initial;
  right: 0;
  transform: translate(50%, -50%);
}

/* Banner */

.banner {
  position: relative;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 0;
  top: 0; 
  opacity: 0.9; 
}

.banner_content {
  padding: 200px 0;
  background-color: rgba(255,255,255,0.1);
  position: relative;
  font-size: 20px;
  color: #ffffff;
  line-height: 1.3;   
}

/* About */

section.about p {
  font-size: 20px;
  line-height: 1.6; 
  text-align: justify;
}

section.about p:last-child {
  margin-bottom: 0;
}

section.about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */

section.text p {
  font-size: 20px;
  line-height: 1.6; 
  text-align: justify;
}

/* Accordion */

section.accordion {
  font-size: 20px;
  line-height: 1.6; 
}

.accordion_single {
  margin-bottom: 30px;
}

.accordion_title {
  padding: 15px;
  background-color: #efefef;
  display: flex;
  justify-content: space-between;
  align-items: center;  
  cursor: pointer;
}

.accordion_title i {
  color: #9c0000;
  font-size: 30px;
  transition: all 0.3s;
  padding-left: 5px;
}

.accordion_title.open i {
  transform: rotate(180deg);
}

.accordion_title strong {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.2;
}

.accordion_text {
  display: none;
  padding: 15px;
  border: 2px solid #efefef;  
}

/* Footer */

footer {
  padding: 50px 0 30px 0;
  border-top: 5px solid #9c0000;
}

footer strong {
  display: block;
  text-transform: uppercase;
  margin-bottom: 5px;
}

footer table {
  margin-bottom: 1rem;
}

footer table td:first-child {
  padding: 0 5px 0 0;
}

footer table td i {
  color: #9c0000;
}

footer a {
  color: #212529;
  transition: all 0.3s;
}

footer a:hover {
  color: #9c0000;
  text-decoration: none;
}

footer a i {
  color: #9c0000;
  margin-right: 5px;
}

.footer_legal p {
  text-align: justify;
  line-height: 1.2;
}

.footer_legal ul {
  margin: 0 0 1rem 0;
  padding: 0;
}

.footer_legal ul li {
  list-style: none;
}

/* Responsive */

@media only screen and (max-width: 991px) {

  .footer_contact {
    margin-bottom: 30px;
  }

  section.about img {
    height: auto;
    margin-top: 30px;
  }

  section {
    padding: 75px 0;
  }

  .accordion_title strong {
    font-size: 25px;
  }

  .banner_content {
    padding: 150px 0;
  }

}

@media only screen and (max-width: 565px) {

  header .menu-hauptmenue-container {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    max-width: 70vw;
    height: 100vh;
    z-index: 9;
    background-color: #fbfbf8;
    box-shadow: -5px 0px 10px 5px rgba(0,0,0,0.1);
    transition: all 0.3s;
  }

  header .menu-hauptmenue-container ul li {
    display: block;
    width: 100%;
    text-align: left;
    margin: 0;
  }

  header .menu-hauptmenue-container ul li a {
    font-size: 20px;
    display: block;
    padding: 5px 10px;
    border-bottom: 1px solid #efefef;
  }

  header .menu-hauptmenue-container.open {
    right: 0;
  }

  header .mobile_nav_open {
    display: inline-block;
  }

  section {
    padding: 50px 0;
  }

  .accordion_title strong {
    font-size: 20px;
  }

  section.text p,
  section.about p,
  section.accordion {
    font-size: 18px;
  }

  .banner_content {
    padding: 100px 0;
  }  

}