/* Basic */
@font-face {
  font-family: "Cairo";
  src: url("../fonts/Cairo-VariableFont_slnt,wght.ttf") format("truetype");
}

p,
b,
a,
li,
span,
h1,
h2,
h3,
h4,
h5 {
  font-family: "Cairo", sans-serif;
}

p,
a {
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

b {
  font-family: "Cairo";
  font-weight: 680;
}
h1 {
  font-size: 5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 680;
}

nav ul {
  padding-left: 0;
}

nav ul li {
  list-style: none;
  padding: 1.5rem 0;
}

nav ul li a {
  color: black;
  text-decoration: none;
}

nav ul li a.bold,
nav ul li a:active {
  font-family: "Cairo";
  font-weight: 680;
}

nav#footer ul li {
  padding: 0;
}

nav#footer {
  margin-bottom: 2rem;
}

.margin-bottom {
  margin-bottom: 5rem;
}

.container {
  margin: 10rem 22.22222% 10rem 11.11111%;
}
.datenschutz .container {
  min-height: calc(100vh - 20rem);
}

/* Sidebar */
#sticky-sidebar {
  box-shadow: 10px 0 20px 0px rgba(0, 0, 0, 0.1);
}
#sticky-sidebar .sidebar-wrapper {
  position: fixed;
  width: 11.11111%;
  /* width: 100%; */
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-wrapper {
  text-align: center;
}

.sidebar-wrapper .logo {
  padding: 20% 0;
}

.headline-sub {
  text-align: center;
  font-size: 2.5rem;
  margin: auto;
}

/* Images */
#intro {
  background-image: url("../img/Bild_1.jpg");
}

#intro-ds {
  background-image: url("../img/Bild_1.jpg");
}

#profile-img {
  background-image: url("../img/Bild_2.jpg");
}

#kontakt-img {
  background-image: url("../img/Bild_3.jpg");
}

.img_logo {
  width: 30rem;
  max-width: 100%;
  height: auto;
  /* margin: auto; */
  display: block;
}

.wirtschaftsberater-mit-ihrem-erfolg-im-blick {
  width: 413px;
}

.fullbackgrund-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

.fullbackgrund-image.small {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 10%;
  height: 50vh;
  width: 100%;
}

/* Timeline */
.history-tl-container {
  display: block;
  position: relative;
}

.history-tl-container ul.tl {
  margin: 5rem 0;
  padding: 0;
  display: inline-block;
}

.history-tl-container ul.tl li {
  list-style: none;
  margin: auto;
  /* min-height: 5rem; */
  /* border-left: 2px solid #000; */
  padding: 0 0 0 3rem;
  margin-bottom: 5rem;
  position: relative;
}

/* .history-tl-container ul.tl li:last-child {
    border-left: 2px dotted #000;
} */

.history-tl-container ul.tl li::before {
  position: absolute;
  left: -0.7rem;
  top: 50%;
  content: " ";
  border: 2px solid #fff;
  border-radius: 500%;
  background: #000;
  height: 20px;
  width: 20px;
  -webkit-border-radius: 500%;
  -moz-border-radius: 500%;
  -ms-border-radius: 500%;
  -o-border-radius: 500%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  z-index: 2;
}

.history-tl-container ul.tl li:not(.more):after {
  position: absolute;
  left: calc(10px - 0.7rem);
  top: -2.5rem;
  content: " ";
  background: #000;
  height: calc(6rem + 100%);
  width: 2px;
  transform: translateX(50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  z-index: 1;
}

.history-tl-container ul.tl li:first-child:after {
  height: calc(2.5rem + 50%);
  top: 50%;
}

.history-tl-container ul.tl li:nth-last-child(2):after {
  height: calc(2.5rem + 50%);
  bottom: 50%;
  top: auto;
}

.history-tl-container ul.tl li.more::after {
  position: absolute;
  left: calc(10px - 0.7rem);
  top: 0;
  content: " ";
  height: 2rem;
  width: 0px;
  border: 1px dashed #fff;
  transform: translate(-1px, -180%);
  z-index: 3;
}

.history-tl-container ul.tl li.more::before {
  position: absolute;
  left: calc(10px - 0.7rem);
  top: 0;
  content: " " !important;
  background: none;
  height: 1rem;
  width: 1rem;
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  border-radius: 2px;
  transform-origin: center;
  transform: translate(-50%, -1rem) rotate(-45deg);
  z-index: 3;
}

.history-tl-container ul.tl li.more a {
  transform: translateY(-100%);
  display: inline-block;
}

ul.tl li .item-detail {
  color: rgba(0, 0, 0, 0.5);
  font-size: 0.8rem;
}
.hidden {
  display: none;
}

/* //form */

form input[type="text"],
form textarea {
  width: 100%;
  font-weight: 300;
  font-size: 100%;
  padding: 15px;
  box-sizing: border-box;
  background-color: #ffffff;
  color: #a5a5a5;
  border: none;
  -webkit-appearance: none;
  background-color: #f5f5f5;
  border-radius: 0;
  margin: 0.5rem 0;
}

form textarea {
  min-height: 177px;
}

form input[type="submit"] {
  border: none;
  padding: 16px 32px;
  text-decoration: none;
  /* margin: 4px 2px; */
  cursor: pointer;
  width: auto;
  float: right;
  color: #a5a5a5;
}

.form-row label {
  color: #a5a5a5;
  font-family: "Cairo";
}
.form-row label a {
  color: #a5a5a5;
}

form .textarea {
  padding-left: 1rem !important;
  margin-bottom: 1rem;
}

form #error_message_block p {
  color: red;
}

#success_message_block p {
  color: #4bb543;
}

/* intro block */
#intro {
  position: relative;
}

#intro .heading-wrapper {
  /* position: absolute; */
  color: #ffffff;
  /* padding: 10rem 15%; */
  /* margin: auto; */
}

#intro .heading-wrapper .heading {
  position: relative;
  font-size: 5rem;
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-family: "Cairo";
  font-weight: 680;
  width: 100%;
  margin-left: 5rem;
}

#intro .heading-wrapper .heading span:nth-child(2) {
  margin-left: 5rem;
}

#intro .heading-wrapper .smallheading {
  position: relative;
  font-size: 3rem;
  /* font-weight: 100; */
  display: flex;
  flex-direction: column;
  margin-top: 4rem;
  font-family: "Cairo";
  font-weight: lighter;
}

#intro .heading-wrapper .smallheading span:nth-child(2),
#intro .heading-wrapper .smallheading span:nth-child(3) {
  margin-left: 9rem;
}

.heading-wrapper span {
  font-family: inherit;
}

#hamburger {
  width: 2.5rem;
  height: 1.6rem;
  /* width: 4rem;
    height: 2.5rem; */
  position: fixed;
  right: 2rem;
  top: 2.5rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  display: none;
  transition: all 0.3s ease;
}

#hamburger.open {
  height: 2.4rem;
  width: 3rem;
  right: 1.3rem;
  top: 2rem;
}

#hamburger span {
  width: 100%;
  height: 0.313rem;
  background-color: #000;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  opacity: 1;
}

#hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  transform-origin: left top;
}

#hamburger.open span:nth-child(2) {
  opacity: 0;
}

#hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  transform-origin: left bottom;
}

.medium-small-only {
  display: flex;
  justify-content: center;
}

.medium-small-only ul {
  display: flex;
}

.medium-small-only ul li a {
  padding: 0.5rem;
}

.tl-item {
  opacity: 0;
}
.tl-item.more .more {
  /* position: absolute;
    bottom: 0; */
}
.history-tl-container ul.tl li.more::before {
  content: none;
}

.textblock-list {
  margin: 0;
  padding-left: 1.3rem;
  /* max-width: 95%; */
}

.textblock-list li {
  list-style-type: "–  ";
}

@media print, screen and (min-width: 64em) {
    .threepoint .large-3 {
        max-width: calc((100% - 6rem) / 3);
        /* width: 30%; */
    }
    .threepoint .large-4 {
        max-width: calc(44.44444% - 1.5rem);
        /* width: 30%; */
    }
    .threepoint .large-5 {
        max-width: calc(55.55556% - 1.5rem);
        /* width: 30%; */
    }

    .threepoint {
      gap: 0 3rem;
    }

}


@media print {
  @page {
    margin: 2cm 1cm 2cm 2cm;
  }

  form,
  #footer,
  #sticky-sidebar,
  .fullbackgrund-image:not(#intro),
  .history-tl-container ul.tl li.more {
    display: none;
  }

  .hidden {
    display: initial;
  }

  .tl-item {
    opacity: 1;
  }

  #intro {
    height: auto;
    background: none;
  }

  #intro .heading-wrapper {
    color: black;
    position: static;
    margin: 5rem 0 0 0;
  }

  #intro .heading-wrapper .heading {
    font-size: 3.5rem;
    line-height: 1;
    display: block;
  }

  .heading-wrapper span {
    margin: 0 0.5rem 0 0 !important;
  }

  #intro .heading-wrapper .smallheading {
    font-size: 2rem;
    margin-top: 1rem;
  }

  .container {
    margin: 2.5rem 0 0 0;
  }

  .column,
  .columns {
    width: 100% !important;
    max-width: none !important;
  }

  .row {
    display: inline-block !important;
  }

  .margin-bottom {
    margin-bottom: 2.5rem;
  }

  .history-tl-container ul.tl li {
    padding: 0;
    margin: 0 0 1rem 0;
  }

  .history-tl-container ul.tl li:before,
  .history-tl-container ul.tl li:after {
    content: none !important;
  }

  .history-tl-container ul.tl {
    margin: 2.5rem 0;
  }
}


