@import "normalize.css";

/* chivo-regular - latin */
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 400;
  src: local('Chivo Regular'), local('Chivo-Regular'),
    url('/assets/templates/zuehlke/fonts/chivo-v9-latin-regular.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('/assets/templates/zuehlke/fonts/chivo-v9-latin-regular.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* chivo-900 - latin */
@font-face {
  font-family: 'Chivo';
  font-style: normal;
  font-weight: 900;
  src: local('Chivo Black'), local('Chivo-Black'),
    url('/assets/templates/zuehlke/fonts/chivo-v9-latin-900.woff2') format('woff2'),
    /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('/assets/templates/zuehlke/fonts/chivo-v9-latin-900.woff') format('woff');
  /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* ==========================================================================
   Variablen
   ========================================================================== */
:root {
  
  --darkgrey: rgb(68, 79, 80);
  --grey: rgb(161, 170, 171);
  --white: rgb(255, 255, 255);
  --red: rgb(227, 6, 19);
  --blue: rgb(0, 159, 227);

  --gutter: 20px;
  --column: 220px;

  --shadow: 0 3px 3px 2px rgba(0, 0, 0, 0.35);
  --dropshadow: 3px 3px 4px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
  color: var(--darkgrey);
}

body {
  font-family: 'Chivo', sans-serif;
  font-size: 13px;
  line-height: 1.25em;
}

::-moz-selection {
  background: var(--blue);
  color: var(--white);
  text-shadow: none;
}

::selection {
  background: var(--blue);
  color: var(--white);
  text-shadow: none;
}

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

img {
  vertical-align: middle;
}

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

textarea {
  resize: vertical;
}

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
}

.wrapper {
  width: calc(var(--column) * 4 + var(--gutter) * 3);
  margin: 0 auto;
}

.column {
  display: inline-block;
  font-size: 13px;
  line-height: 1.35em;
  text-align: left;
  vertical-align: top;
}

.column-container {
  text-align: justify;
  font-size: 0.1px;
  line-height: 0;
}

.column-container::after {
  content: "";
  width: 100%;
  display: inline-block;
  height: 1px;
}

h2 {
  font-weight: normal;
  line-height: 1.25em;
}

p {
  text-align: left;
}

a {
  color: var(--blue);
}

td {
  vertical-align: top;
}

.header-main {
  height: 73px;
  background: url(/assets/templates/zuehlke/img/header-background.gif) repeat-x;
  margin-top: 30px;
  margin-bottom: 25px;
}

.header-main h1 {
  width: calc(var(--column) * 4 + var(--gutter) * 3);
  margin: 0 auto;
  text-align: right;
}

.headline-main {
  display: inline-block;
  height: 73px;
  width: 88px;
  background: url(/assets/templates/zuehlke/img/zuehlke-logo.png) no-repeat;
  text-decoration: none;
  margin-right: 0px;
}

.footer-wrapper {
  background: var(--darkgrey);
  color: var(--white);
  box-shadow: var(--shadow);
}

.footer-main {
  width: calc(var(--column) * 4 + var(--gutter) * 3 + var(--gutter));
  margin: 0 auto;
  margin-bottom: var(--gutter);
}

.footer-main p {
  margin: calc(var(--gutter) / 2) 0;
}

.breadcrumbs {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--dropshadow);
  padding: calc(var(--gutter) / 2);
  text-align: right;
  margin: var(--gutter) 0;
}

.breadcrumbs a {
  color: var(--white);
  text-decoration: none;
}

.content-main {
  width: calc(var(--column) * 3 + var(--gutter) * 2);
}

.mood-image {
  margin: var(--gutter) 0;
  box-shadow: var(--dropshadow);
}

.sidebar-main {
  width: var(--column);
  margin-top: var(--gutter);
}

.sidebar-item-shadow {
  box-shadow: var(--dropshadow);
}

.sidebar-item {
  margin-bottom: var(--gutter);
}

.sidebar-header {
  background-color: var(--red);
  color: var(--white);
  padding: calc(var(--gutter) / 2);
}

.sidebar-header h3 {
  font-size: 100%;
  margin: 0;
}

.sidebar-content {
  position: relative;
  padding: calc(var(--gutter) / 2);
}

.sidebar-content p:first-child {
  margin-top: 0;
}

.sidebar-content p:last-child {
  margin-bottom: 0;
}

.sidebar-item-noshadow {
  padding: 0;
}

.sidebar-image {
  padding: 0;
}

.sidebar-karte {
  padding: 0;
}

.sidebar-karte img {
  height: 220px;
}

.sidebar-popup {
  position: absolute;
  left: calc(var(--gutter) / 2);
  right: calc(var(--gutter) / 2);
  bottom: calc(var(--gutter) / 2);
  background: color-mix(in srgb, var(--white) 80%, transparent);
  color: var(--red);
  text-align: center;
  padding: calc(var(--gutter) / 2);
  font-size: 20px;
}

#sidebar-kontakt .sidebar-content {
  height: auto;
}

.more-link {
  display: block;
  color: var(--blue);
  text-decoration: none;
  text-align: right;
  font-weight: bold;
}

.more-link:hover {
  color: var(--red);
}

.homepage-box-wrapper {
  margin-top: var(--gutter);
}

.homepage-box {
  width: var(--column);
}

.homepage-box-header {
  margin-bottom: var(--gutter);
  box-shadow: var(--dropshadow);
}

.homepage-box-header h3 {
  margin: 0;
  padding: calc(var(--gutter) / 2);
  font-size: 100%;
  background: var(--blue);
  color: var(--white);
}

.team-item {
  width: var(--column);
  box-shadow: var(--dropshadow);
  margin: var(--gutter) 0;
  border-bottom: 3em solid var(--grey);
}

.team-item img {
  float: left;
  margin: 0 calc(var(--gutter) / 4) calc(var(--gutter) / 4) 1px;
  border: 1px solid #222;
}

.team-item p {
  margin-top: 0;
  margin-left: calc(84px + var(--gutter) / 4);
}

.team-item-empty {
  width: var(--column);
}

.ref h3 {
  margin-bottom: 0;
}

.ref h3+p {
  margin-top: 0;
}

.ref-category {
  margin-bottom: var(--gutter);
}

.ref-category-header {
  background: var(--grey);
  color: var(--white);
  padding: calc(var(--gutter) / 2);
  margin: 0;
  width: 100%;
  box-shadow: var(--dropshadow);
}

.ref-item {
  width: var(--column);
  box-shadow: var(--dropshadow);
  margin-top: var(--gutter);
}

.ref-images {
  margin-bottom: var(--gutter);
}

.ref-image {
  box-shadow: var(--dropshadow);
}

.ref-nav-link {
  color: var(--grey);
  text-decoration: none;
  font-weight: normal;
}

.ref-nav-link[href]:hover {
  color: var(--red);
}

.ref-nav-link[href] {
  color: var(--blue);
}

.slideshow {
  position: relative;
  display: none;
  overflow: hidden;
}

.slidesjs-previous,
.slidesjs-next {
  position: absolute;
  top: 35%;
  display: block;
  width: 26px;
  height: 38px;
  z-index: 9999;
  background-color: transparent;
  border: 0;
  overflow: hidden;
}

.slidesjs-previous::before,
.slidesjs-next::before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

.slidesjs-previous {
  left: var(--gutter);
  background: url(/assets/templates/zuehlke/img/button-previous.png) no-repeat;
}

.slidesjs-next {
  right: var(--gutter);
  background: url(/assets/templates/zuehlke/img/button-next.png) no-repeat;
}

.slidesjs-slide figcaption {
  position: absolute;
  bottom: 0;
  background: #fff;
  background: color-mix(in srgb, var(--white) 80%, transparent);
  width: 100%;
  padding: var(--gutter);
  font-size: 24px;
  line-height: 1.15em;
}

.slidesjs-pagination {
  display: none;
}

.formular {
  width: 240px;
  clear: both;
  margin-bottom: var(--gutter);
}

.formular > form {
  display:grid;
  gap: 0.25rem;
  grid-template-columns: 2fr 5fr;
}

.formular label {
  display:inline-block;
  width: 100%;
}

/*.formular input,
.formular textarea {
  float: left;
  border: 1px solid var(--blue);
  padding: 2px;
  width: 70%;
  margin: 1% 0;
}*/
.formular .checkbox {
  grid-column: span 2;
}

.formular input[name='submit'] {
  grid-column-start: 2;
  justify-self: end;
}

.formular textarea {
  height: 100px;
}

.formular .form-errors,
.landingpage .content-main ul.form-errors {
  list-style-type: none;
  margin-top:0;
  padding:.5rem;
  border:1px solid red;
}

.col-1,
.col-2 {
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

@media screen and (min-width:700px) {

  .col-1,
  .col-2 {
    width: 50%;
  }
}

.landingpage .content-main ul {
  list-style-type: none;
  padding: 0;
}

.landingpage .content-main li:before {
  content: "✓ ";
}

.textbox {
  background: var(--red);
  color: #fff;
  box-shadow: var(--dropshadow);
  padding: 1em;
  margin: 1em 0;
}

.textbox>*:first-child {
  margin-top: 0;
}

.textbox>*:last-child {
  margin-bottom: 0;
}

.lp-form {
  display: grid;
  gap: 0.25rem;
  grid-template-columns: 2fr 5fr;
}
.lp-form-row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 2;
  margin:0;
}

.lp-form .field-has-error,
.lp-form .field-is-required {
  border-left:2px solid var(--red);
  padding-left:0.5rem;
}

/*.lp-form-element {
  border: 1px solid var(--blue);
  width: calc(100% - 110px);
}*/

/*.lp-form-element.required,
.lp-form-element.invalid {
  border-color: var(--red);
}*/

.lp-form textarea {
  height: 100px;
}

.lp-form-checkbox label {
  grid-column: span 2;
}

/*.lp-form-checkbox input {
  width: auto;
}*/

.lp-form-submit {
  grid-column-start: 2;
}

.errors {
  border: 2px dashed var(--red);
  padding: 1em;
}

.requiredlist {
  display: inline-block;
}

.requiredlist span:last-child {
  margin-bottom: 0;
}

input[type="checkbox"] {
  width: auto;
  margin: 1% .5rem 0 0;
}

/* ==========================================================================
   Mediaqueries
   ========================================================================== */
.wrapper {
  width: 100%;
}

.header-main h1 {
  width: 100%;
}

.header-main a {
  margin-right: calc(var(--gutter) / 2);
}

nav {
  position: relative;
  width: 100%;
  padding: 0 calc(var(--gutter) / 2);
}

nav ul {
  box-shadow: var(--dropshadow);
  position: relative;
  list-style-type: none;
  background: var(--darkgrey);
  margin: 0;
  padding: calc(var(--gutter) / 4) 0;
}

nav ul ul {
  margin-left: var(--gutter);
  box-shadow: none;
}

nav a {
  display: block;
  color: var(--white);
  text-decoration: none;
  padding: calc(var(--gutter) / 4) calc(var(--gutter) / 2);
}

nav a:hover {
  color: var(--blue);
}

nav .active>a {
  color: var(--red);
}

.nav-main {
  display: none;
  position: absolute;
  left: calc(var(--gutter) / 2);
  right: calc(var(--gutter) / 2);
  z-index: 10000;
}

.nav-mobile {
  display: block;
  width: 100%;
  text-align: right;
}

.nav-meta {
  box-shadow: none;
  margin: 0 calc(var(--gutter) * -1);
}

.nav-meta li {
  display: inline-block;
}

.nav-meta a {
  font-weight: normal;
}

.sidebar-main {
  width: 100%;
  padding: 0 calc(var(--gutter) / 2);
  margin-top: 0;
}

.sidebar-item {
  width: 100%;
  margin-bottom: calc(var(--gutter) / 2);
}

.sidebar-content {
  display: none;
}

.sidebar-content img {
  display: none;
}

.sidebar-popup {
  position: relative;
  left: 0;
}

.footer-main {
  width: 100%;
  padding: 0 calc(var(--gutter) / 2);
}

.content-main {
  width: 100%;
  padding: 0 calc(var(--gutter) / 2);
}

.homepage-box-wrapper {
  margin-top: calc(var(--gutter) / 2);
}

.homepage-box {
  width: 100%;
  margin-bottom: calc(var(--gutter) / 2);
}

.homepage-box img {
  display: none;
}

.homepage-box p {
  display: none;
}

.mood-image {
  width: 100%;
  margin: calc(var(--gutter) / 2) 0;
}

.mood-image img {
  width: 100%;
  height: auto;
}

.team-item {
  width: 100%;
}

.ref-item {
  width: 100%;


}

.ref-item img {
  width: 100%;
  height: auto;
}

.ref-image {
  width: 32%;
  height: auto;
  margin-bottom: calc(var(--gutter) / 2);
}

.ref-nav-link {
  width: 100%;
  text-align: center;
}

.breadcrumbs {
  text-align: center;
  margin: calc(var(--gutter) / 2) 0;
}

a[href^="tel"] {
  color: var(--blue);
}

/*
.slidesjs-previous, .slidesjs-next {
    top:20%;
}
.slidesjs-slide figcaption {
    font-size:16px;
}
*/
#mapCanvas {
  width: 100%;
  min-height: 150px;
  border: 1px solid var(--grey);
  margin-bottom: 1rem;
  position: relative;
}

#enableGMaps {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  display: none;

  padding: 1rem;
  background: var(--blue);
  background-image: url(/assets/images/google-map-placeholder.jpg);
  background-size: cover;
  color: var(--white);


}

#enableGMaps p {
  background: var(--blue);
  padding: 1rem;
  text-align: center;
}

#enableGMaps a {
  color: var(--white);
}

#mapRoute {
  display: none;
}

#gFrame {
  margin-bottom: calc(var(--gutter) / 2);


}

#gFrame input {
  margin: 0;
  padding: 4px;
  border: 1px solid var(--darkgrey);
}

#gFrame input[type="text"] {
  width: 100%;
}

.formular {
  width: 100%;
}

.content-right,
.content-left {
  display: block;
}

#google_translate_wrapper {
  width: 100%;
  margin: var(--gutter) auto;
}

#google_translate_element {
  padding: 0 calc(var(--gutter) / 2);
}

#klaro-show-button {
  position:absolute;
  bottom:1.3rem;
  right:1.3rem;
  width:3rem;
  height:3rem;
  padding:0.5rem;
  border-radius:100%;
  background:lightgray;
}
#klaro-show-button:hover {
  background:lightskyblue;
}
#klaro-show-button img {
  width: 100%;
  height:auto;
}

@media screen and (min-width:700px) {
  .wrapper {
    width: calc(var(--column) * 3 + var(--gutter) * 2);
  }

  .header-main {}

  .header-main h1 {
    width: calc(var(--column) * 3 + var(--gutter) * 2);
  }

  nav {
    padding: 0;
  }

  nav ul ul {
    position: absolute;
    display: none;
    margin: 0;
    box-shadow: var(--dropshadow);
  }

  nav li {
    display: inline-block;
  }

  nav li:hover ul {
    display: block;
  }

  nav li:hover li {
    display: list-item;
  }

  .nav-main {
    position: relative;
    display: block;
    left: 0;
    right: 0;
  }

  .nav-mobile {
    display: none;
  }


  .footer-main nav {
    display: inline-block;
    width: auto;
  }


  .nav-meta {
    margin: 0 calc(var(--gutter) / 2 * -1);
  }

  .breadcrumbs {
    margin-top: var(--gutter);
  }

  .mood-image {
    margin-top: var(--gutter);
  }

  .sidebar-main {
    padding: 0;
  }

  .sidebar-item {
    width: var(--column);
    display: inline-block;
    vertical-align: top;
    margin-bottom: var(--gutter);
  }

  .sidebar-content {
    display: block;


  }

  .sidebar-content img {
    display: inline;
  }

  .sidebar-popup {
    position: absolute;
    left: calc(var(--gutter) / 2);


  }

  .sidebar-popup a[href^="tel"] {
    color: var(--red);
  }

  .footer-main {
    width: calc(var(--column) * 3 + var(--gutter) * 2);
    padding: 0;
  }

  .content-main {
    width: calc(var(--column) * 3 + var(--gutter) * 2);
    padding: 0;
  }

  .homepage-box-wrapper {
    margin-top: var(--gutter);
  }

  .homepage-box {
    width: var(--column);
    margin-bottom: 0;

  }

  .homepage-box img {
    display: inline;
  }

  .homepage-box p {
    display: block;
  }

  .team-item {
    width: var(--column);
  }

  .ref-item {
    width: var(--column);
  }

  .ref-image {
    width: var(--column);
  }

  .ref-nav-link {
    width: auto;
  }

  .breadcrumbs {
    text-align: right;
  }

  a[href^="tel"] {
    text-decoration: none;
    color: var(--darkgrey);
    cursor: text;
  }

  #mapCanvas {
    height: 293px;
  }


  #gFrame input[type="text"] {
    width: 75%;
  }

  #gFrame input[type="submit"] {
    width: 25%;
  }

  .content-left,
  .content-right {
    width: 49%;
    vertical-align: top;
    display: inline-block;
  }

  #google_translate_wrapper {
    width: calc(var(--column) * 3 + var(--gutter) * 2);
  }

  #google_translate_element {
    padding: 0;
  }
}

@media screen and (min-width:960px) {
  .wrapper {
    width: calc(var(--column) * 4 + var(--gutter) * 3);
  }

  .header-main h1 {
    width: calc(var(--column) * 4 + var(--gutter) * 3);
  }

  .sidebar-main {
    margin-top: var(--gutter);
  }

  .footer-main {
    width: calc(var(--column) * 4 + var(--gutter) * 3);
  }

  .sidebar-main {
    width: var(--column);
  }

  .content-main {
    width: calc(var(--column) * 3 + var(--gutter) * 2);
  }

  #google_translate_wrapper {
    width: calc(var(--column) * 4 + var(--gutter) * 3);
  }
}

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

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

.hidden {
  display: none !important;
  visibility: hidden;
}

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

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

.invisible {
  visibility: hidden;
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster: h5bp.com/s */
    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 for images, or javascript/internal links
     */

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

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

  thead {
    display: table-header-group;
    /* h5bp.com/t */
  }

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

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

  @page {
    margin: 0.5cm;
  }

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

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