/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/**** Lemonade****/

h1,
h2,
h3,
h4,
h5,
h5,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.frame {
  margin: 0 auto;
  max-width: 100%;
  height: 100%;
}
.frame:after {
  content: "";
  display: table;
  clear: both;
}

[class*="bit-"] {
  float: left;
  padding: 0;
  height: 100%;
}

.bit-1 {
  width: 100%;
}
.bit-3 {
  width: 33.33333%;
}

.bit-2 {
  width: 50%;
}

.bit-4 {
  width: 25%;
}

.bit-25 {
  width: 25%;
}

.bit-66 {
  width: 66.666666%;
}

.bit-75 {
  width: 75%;
}
.bit-15 {
  width: 15%;
}
.bit-85 {
  width: 85%;
}

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

/**** Fonts ****/

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("Roboto Medium"), local("Roboto-Medium"),
    url("../fonts/Roboto-Medium.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Roboto Regular"), local("Roboto-Regular"),
    url("../fonts/Roboto-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: local("Roboto Light"), local("Roboto-Light"),
    url("../fonts/Roboto-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Roboto Bold"), local("Roboto-Bold"),
    url("../fonts/Roboto-Bold.ttf") format("truetype");
}

html {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  background: #43362a;
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 100%;
  color: #fff;
}
.parent {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 68%;
  margin: 0 auto;
}
.image {
  flex-basis: 100%;
}
.text {
  max-width: 30%;
  padding-right: 20px;
}
.container {
  position: relative;
  margin: 0 auto;
  max-width: 68%;
  color: #fff;
  opacity: 1;
}

.container.flex {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 5em 0;
  gap: 5em;
  box-sizing: border-box;
}

.container.flex .item {
  flex: 0.5;
}

.container.flex .item:last-child {
  padding-bottom: 0.6em;
}

header {
  position: relative;
  padding-top: 3em;
  padding-bottom: 2em;
  border-bottom: 5px solid #f5ecdc;
}
header a {
  color: #fff;
  text-decoration: none;
}

section {
  border-bottom: 5px solid #f5ecdc;
}

.overlay {
  background-image: url(../img/strahlen.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  /*height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;*/
}
.overlay_position1 {
  background-position: 300px auto;
  background-image: url(../img/strahlen_002.jpg);
}
.overlay_position2 {
  background-position: 600px auto;
  background-image: url(../img/strahlen_002.jpg);
}

img {
  width: 100%;
  height: auto;
}

img.small {
  width: 30%;
  margin-top: 5em;
  margin-bottom: 3em;
}

.logo {
  min-width: 250px;
  max-width: 320px;
}
header ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
header ul li {
  display: inline-block;
  margin: 0;
  padding: 0 0 0 1em;
}
header ul li a.active {
  text-decoration: underline;
}

.nav-container {
  position: relative;
  height: 106px;
}
.top-nav,
.main-nav {
  text-align: right;
  position: absolute;
  z-index: 3;
  font-size: 1em;
}
.top-nav {
  /*margin-bottom: 1em;*/
  top: 10px;
  right: 0;
}
.top-nav-icon {
  width: 20px !important;
}
.main-nav {
  bottom: 0;
  right: 0;
}
.centerMe {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  padding: 2em 2em 2em 0;
}
.centerMeRightCol {
  padding-bottom: 1em;
  padding-top: 1em;
  padding-right: 2em;
  padding-left: 2em;
}
.sliderpara {
  position: static;
  padding: 3em 2em 0 2em;
}

.slider-container {
  position: relative;
  width: 100%;
}

.slider-container .container {
  position: absolute;
  left: 0;
  top: 50%;
  text-decoration: none !important;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(131, 119, 108, 0.8);
  padding: 5em;
  box-sizing: border-box;
  max-height: 70%;
}

.centerMe h1,
.sliderpara h1 {
  font-weight: 500;
  margin-bottom: 1em;
  font-size: 1.5em;
}
.centerMe p,
.sliderpara p {
  margin: 1em 0;
}
footer {
  padding: 3em 0;
  font-size: 0.85em;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
}

.footer-nav ul {
  list-style-type: none;
}
.footer-nav li {
  display: inline-block;
  margin-right: 20px;
}
.phone {
  color: #fff;
}
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

#toggle {
  display: none;
}

.slicknav_menu {
  display: none;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}
/* .cd-top {
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    overflow: hidden;
    background: #FFFFFF url(../img/cd-top-arrow.svg) no-repeat center 50%;
    visibility: hidden;
    content: '>'
    opacity: 0;
    -webkit-transition: opacity .3s 0s,visibility 0s .3s;
    -moz-transition: opacity .3s 0s,visibility 0s .3s;
    transition: opacity .3s 0s,visibility 0s .3s;
    right: 10px;
    color: #000;
}

/****Bildergalerie*****/

#full-screen-gallery {
  overflow: hidden;
  padding: 0 0;
  display: flex;
  flex-wrap: wrap;
}

.col {
  margin-left: 0;
  margin-bottom: 0;
}

.col.margin {
  margin-bottom: 5em;
}

.fullwidth .col {
  float: none;
  margin-left: 0;
}
/* grid4 col */
.grid5 .col {
  width: 18.8%;
}
.grid4 .col {
  width: 22.6%;
}
/* grid3 col */
.grid3 .col {
  width: 33.3%;
  border-right: 1px solid #ffffff;
  border-bottom: 1px solid #ffffff;
  border-left: 1px solid #ffffff;
  border-top: 1px solid #ffffff;
}
/* grid2 col */
.grid2 .col {
  width: 48.4%;
}
/* clear col */
.grid5 .col:nth-of-type(5n + 1) {
  margin-left: 0;
  clear: left;
}

.bildergallerie .frame .bit-3 {
  border-right: 2px solid #f5ecdc;
  border-top: 2px solid #f5ecdc;
}

.bildergallerie .frame .bit-3:nth-child(-n + 3) {
  /*border-top: none;*/
}
.teaser-bg {
  position: relative;
}
.teaser-bg:hover > .teaser-overlay {
  opacity: 1;
}

.teaser-bg:hover,
.teaser-bg:active {
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.teaser-overlay {
  position: absolute;
  background: rgba(59, 46, 33, 0.7);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 10px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;
  color: #fff;
  cursor: default;
  font-weight: 500;
  font-size: 1em;
  padding: 2em;
}
.teaser-overlay h1 {
  color: #fff;
  font-size: 1.2em;
  padding: 0;
  margin: 1em 0;
}
.teaser-overlay p {
  color: #fff;
  padding: 0;
  margin: 1em 0;
  font-weight: 300;
}
.teaser-overlay.wohnen-gallery p {
  padding-top: 2em;
}
/************Sticky Footer*************/

html,
body {
  height: 100%;
}
.page-wrap {
  min-height: 100%;
  /* equal to footer height */
  margin-bottom: -250px;
}
.page-wrap:after {
  content: "";
  display: block;
}
.site-footer,
.page-wrap:after {
  height: 250px;
}
.site-footer {
  border-top: 5px solid #f5ecdc;
}
/******************Subcontent*******************/

.subcontent {
  border-bottom: none;
}
/******************more button*******************/

.more {
  display: inline;
  color: #3b2e21;
  padding: 8px 10px;
  text-decoration: none;
  font-weight: 600;
  border: 0.1px solid #f5ecdc;
  color: #f5ecdc;
}

.sub-content {
  background: #f5ecdc;
  padding: 2em 0;
}
.sub-content .container {
  color: #5b4838;
}
.sub-content h1 {
  color: #281d12;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 1em;
}
.sub-content p {
  margin: 1em 0;
}
.sub-content p.big {
  margin: 1em 0 5em 0;
}
.sub-content ul {
  margin: 1em 1em;
}
.col.actions-no-border {
  border: none;
  text-align: center;
}
.col.actions-no-border.left {
  text-align: left;
}
.col.actions-no-border.two {
  width: 66%;
}
.col.actions-no-border.three {
  width: 100%;
}
.col.actions-no-border img {
  width: 90%;
}
.col.actions-no-border h2 {
  font-weight: 600;
  font-size: 1.1em;
}

.col.actions-no-border strong {
  font-weight: 600;
  font-size: 1.1em;
}
.sub-content.dark {
  background: #281d12;
  border-bottom: none;
}
.sub-content.dark .container {
  color: #f5ecdc;
}
.sub-content.dark h1 {
  color: #f5ecdc;
}

.hero.bg {
  background-color: #83776c;
}

.hero iframe {
  width: 100%;
  height: 400px;
}

/*Kontaktformulur*/

.frame.kontakt [class*="bit-"] {
  padding: 0.3em 0.6em 0.3em 0;
}
input[type="submit"] {
  width: 100px;
  background: #f5ecdc;
  color: #281d12;
  border: none;
  cursor: pointer;
  padding: 0.5em;
  font-size: 1em;
  font-weight: 600;
  font-family: arial, verdana, sans-serif;
}
input[type="text"],
input[type="email"],
select,
textarea {
  color: #2a3782;
  font-style: italic;
  width: 100%;
  background: #f5ecdc;
  color: #281d12;
  border: none;
  padding: 0.4em 0.5em;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #281d12;
}
div.terms {
  margin: 10px 0 20px 0;
}
div.terms a {
  color: white;
  font-weight: bold;
}

/************Zoom****************/

.zoom-pic {
  position: absolute;
  z-index: 232;
  width: 50px;
  height: 50px;
  background: #3b2e21;
  color: #f5ecdc;
  top: 0;
  right: 0;
  text-align: center;
  font-size: 35px;
  border-bottom: 0.1px solid #f5ecdc;
  border-left: 0.1px solid #f5ecdc;
}

#nachricht2 {
  display: none;
}
.section_title {
  display: block;
  text-transform: uppercase;
  font-size: 1em;
  color: #ffffff;
}

.firma_pics {
  float: right;
  margin-left: 1em;
}
.firma_pics img {
  border: 1px solid #8f775f;
  margin-bottom: 0.5em;
  max-width: 160px;
  display: block;
}
.address-footer {
  float: right;
  text-align: right;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1200px) {
  a.container.flex h1.item {
    font-size: 1.5em;
  }
}

@media only screen and (max-width: 1000px) {
  .overlay .container {
    max-width: 95%;
  }
  .bit-4 {
    width: 5%;
  }
  section .bit-75 {
    width: 95%;
  }

  body {
    font-size: 90%;
  }
  .teaser-overlay h1 {
    margin: 1em 1em;
    font-size: 1.1em;
  }
  .teaser-overlay p {
    font-size: 0.9em;
    margin: 1em 1em;
  }
  .centerMe p,
  .sliderpara p {
    display: none;
  }
  .parent {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    max-width: 68%;
    margin: 0 auto;
  }
  .image {
    flex-basis: 100%;
  }
  .text {
    max-width: 100%;
    width: 100%;
    padding-right: 20px;
  }
}

@media only screen and (max-width: 800px) {
  body {
    font-size: 80%;
  }
  #toggle {
    display: block;
  }

  .slicknav_menu {
    display: block;
  }
  #menu {
    display: none;
  }
  #topnav {
    display: none;
  }
  .nav-container {
    position: static;
  }
  header .bit-66 {
    width: 10%;
  }
  header .bit-3 {
    width: 90%;
  }
  footer .bit-66,
  footer .bit-3 {
    /*width: 100%;*/
  }
  footer .bit-66 {
    width: 50%;
  }
  footer .bit-3 {
    width: 50%;
  }
  .footer-nav ul {
    text-align: left;
    margin-top: 10px;
  }
  .footer-nav ul li {
    margin-left: 0;
    margin-right: 20px;
  }
  .bildergallerie .frame .bit-3 {
    width: 50%;
  }
  .bildergallerie .frame .bit-3:nth-child(-n + 2) {
    border-top: none;
  }
  .bildergallerie .frame .bit-3:nth-child(3) {
    border-top: 2px solid #f5ecdc;
  }
  .centerMe {
    padding-top: 1em;
    padding-bottom: 1em;
  }
  .grid5 .col {
    width: 31.3%;
  }
  .grid5 .col:nth-of-type(5n + 1) {
    margin-left: 1.5%;
    clear: none;
  }
  .grid5 .col:nth-of-type(3n + 1) {
    margin-left: 0;
    clear: left;
  }
  .grid3 .col {
    width: 50%;
  }
  .col.actions-no-border.two,
  .col.actions-no-border.three {
    width: 100%;
  }
  .grid3 .col:nth-of-type(3n + 1) {
    clear: none;
  }
  .hero iframe {
    width: 100%;
    height: 200px;
  }
  /*footer{
        padding-bottom: 80px;
    }*/
  /*.address-footer{
        float: none;
        text-align: left;
    }*/

  img.small {
    width: 80%;
    margin-top: 5em;
    margin-bottom: 3em;
  }

  .container.flex .item.disappear {
    /* display:none; */
    font-size: 1.5em;
  }

  .slider-container .container {
    padding: 2em;
  }

  .slider-container .container img {
    width: auto;
    max-width: 100%;
    max-height: 110px;
  }
}

@media only screen and (max-width: 700px) {
  body {
    font-size: 75%;
  }
  .teaser-bg:hover > .teaser-overlay {
    display: none;
  }
  .teaser-bg:hover > .teaser-overlay.bild-overlay-on {
    display: block;
  }

  .container.flex {
    display: block;
  }

  .container.flex .item:last-child {
    padding-bottom: 0;
    margin-top: 2em;
  }

  a.container.flex {
    max-height: 90%;
  }
  a.container.flex .item:last-child {
    margin-top: 0.5em;
    font-size: 1em;
  }
}
@media only screen and (max-width: 600px) {
  .centerMe p,
  .sliderpara p {
    display: none;
  }
  /*.sliderpara{
        padding-top: 7em;
    }*/
  .slicknav_nav a {
    font-size: 1.3em;
  }
  .firma_pics {
    float: none;
    margin-left: 0;
  }
  .firma_pics img {
    border: 1px solid #8f775f;
    margin-bottom: 0.5em;
    float: left;
    margin-right: 1em;
    max-width: 120px;
  }
  .firma_pics:after {
    content: "";
    display: table;
    clear: both;
  }
  .firma_pics br {
    display: none;
  }
}

@media only screen and (max-width: 480px) {
  /*section .bit-3, section .bit-66{
        width: 100%;    
    }*/
  section .bit-3 {
    /*border-top: 5px solid #f5ecdc;  */
  }
  .centerMe {
    padding-top: 5px;
    padding-bottom: 20px;
    position: static;
    top: auto;
    transform: none;
  }
  .sliderpara {
    position: static;
    padding: 1.2em;
  }

  .logo {
    max-width: 200px;
    min-width: 1px;
  }
  .bildergallerie .frame .bit-3 {
    width: 100%;
    border-right: none;
  }
  .bildergallerie .frame .bit-3:nth-child(1) {
    border-top: none;
  }
  .bildergallerie .frame .bit-3:nth-child(2) {
    border-top: 2px solid #f5ecdc;
  }
  .bildergallerie .frame .bit-3:nth-child(3) {
    border-top: 2px solid #f5ecdc;
  }
  .centerMe p,
  .sliderpara p {
    /*display: block;*/
  }
  .centerMe {
    padding: 1.2em;
  }
  .centerMeRightCol {
    padding-left: 2em;
  }
  .bit-4 {
    width: 0;
  }
  .grid3 .col,
  .col.actions-no-border.two,
  .col.actions-no-border.three {
    width: 100%;
  }
  .grid3 .col:nth-of-type(3n + 1) {
    clear: none;
  }
  .sub-content .container {
    max-width: 90%;
  }
  .bit-2 {
    width: 100%;
  }
  /*.sliderpara{
        padding-top: 0.5em;
    }*/
  .centerMe h1,
  .sliderpara h1 {
    font-size: 0.75em;
  }
  .more {
    font-size: 0.75em;
    padding: 1px 2px;
  }
  .service_para {
    padding-bottom: 0.5em;
    padding-left: 1.2em;
  }
  .nav-container {
    height: auto;
  }
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after,
  *:first-letter,
  *:first-line {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
