html {
  scroll-behavior: smooth;
  touch-action: manipulation;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  overflow-x: hidden;
  box-sizing: border-box;
}

.contact-info-container {
  width: 100%;
  height: 50px;
  background-color: #fbbf24;
  position: absolute;
  top: 0;
}

.start-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  filter: brightness(35%);
  display: block;
}

.contact-info-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  padding-right: 10px;
  gap: 80px;
  margin-right: 100px;
}

.contact-info-right a {
  color: black;
  text-decoration: none;
  font-weight: 100;
  transition: all 1s ease-in-out;
}

.contact-info-right a:hover {
  text-decoration: underline;
}

.phone-icon {
  width: 15px;
  vertical-align: middle;
  margin-top: -2px;
}

.envelope-icon {
  width: 23px;
  vertical-align: middle;
  margin-top: -10px;
}

.navbar {
  top: 50px;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: transparent;
  transition: background-color 0.5s ease;
  z-index: 1;
}

.navbar-menu {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.navbar-menu li {
  margin: 0 20px;
}

.navbar-menu li a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 100;
  font-size: 1.2rem;
}

.navbar-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.navbar-menu li a:hover::after {
  width: 100%;
}

.navbar ul li:last-child {
  margin-right: 110px;
}

.navbar-logo {
  margin-left: 50px;
}

.logo {
  width: 120px;
}

.h1-container-d {
  color: white;
  margin-top: 11%;
  margin-left: 7%;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 1s ease-in, transform 1s ease-in;
}

.h1-container-d h1 {
  font-size: 3.4rem;
}

.h1-container-d p {
  font-weight: 100;
  font-size: 1.5rem;
}

.h1-container {
  color: white;
  margin-top: 11%;
  margin-left: 7%;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 1s ease-in, transform 1s ease-in;
}

.h1-container h1 {
  font-size: 3.4rem;
}

.h1-container p {
  font-weight: 100;
  font-size: 1.5rem;
}

.font-weight {
  font-weight: 500;
}

.btn-1 {
  cursor: pointer;
  margin-top: 5%;
  font-size: 1rem;
  font-weight: 100;
  width: 200px;
  height: 40px;
  background: #fbbf24;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.07);
  border-radius: 5px;
  border: none;
  transition: all ease-in-out 0.2s;
}

.btn-1:hover {
  opacity: 0.8;
}

.btn-1:active {
  opacity: 0.3;
}

.call-btn {
  display: none;
}

.header-mobile {
  display: none;
}

@media screen and (max-width: 767px) {
  .header-desktop {
    display: none;
  }

  .header-mobile {
    display: block;
  }

  .contact-info-container {
    display: none;
  }

  .navbar-logo {
    margin-right: 20px;
    margin-left: 20px;
  }

  .logo-mobile {
    width: 80px;
  }

  .navbar {
    position: relative;
    top: 0;
    overflow: hidden;
  }

  .navbar-menu li {
    margin: 0 10px;
  }

  .navbar-menu li a {
    font-size: 1rem;
  }

  .navbar ul li:last-child {
    margin-right: 20px;
  }

  .start-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(50%);
    display: block;
  }

  .h1-container {
    margin-top: 30%;
    margin-left: 0;
    text-align: center;
  }

  .h1-container h1 {
    font-size: 2.8rem;
  }

  .h1-container p {
    margin-top: 15%;
    font-size: 1.3rem;
  }

  .btn-1 {
    margin-top: 20%;
    width: 180px;
  }

  .call-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fbbf24;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 100;
  }

  .call-btn-icon {
    width: 55%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1224px) {
  .navbar-menu li {
    margin: 0 25px;
  }

  .navbar-menu li a {
    font-size: 1.5rem;
  }

  .navbar ul li:last-child {
    margin-right: 50px;
  }

  .navbar-logo {
    margin-left: 70px;
  }

  .h1-container {
    font-size: 3.5rem;
    margin-top: 30%;
  }

  .header-desktop h1 {
    margin-top: 25%;
    font-size: 4rem;
  }

  .header-desktop p {
    font-size: 1.6rem;
    margin-top: 10%;
  }

  .btn-1 {
    margin-top: 10%;
    width: 200px;
    height: 45px;
    font-size: 1.1rem;
  }

  .contact-info-right {
    margin-right: 40px;
  }
}

.section-leistungen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-leistungen h2 {
  font-size: 2rem;
  font-weight: 100;
  text-decoration: underline;
  margin-top: 5%;
  margin-bottom: 6%;
  text-align: center;
  overflow: hidden;
}

.card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  transform: translateY(30px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.card-row.animate {
  opacity: 1;
  transform: translateY(0);
}

.card-row h3 {
  font-weight: 100;
}

.flip-card {
  perspective: 1000px;
  width: 350px;
  height: 500px;
  cursor: pointer;
  margin-right: 30px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-card-back {
  box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.5),
    10px 0 10px -10px rgba(0, 0, 0, 0.5), -10px 0 10px -10px rgba(0, 0, 0, 0.5);
}

.card-image {
  height: 70%;
  background-size: cover;
  background-position: center;
}

.one {
  background-image: url(files/new_stock/trockenbau_comp.webp);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.5),
    10px 0 10px -10px rgba(0, 0, 0, 0.5), -10px 0 10px -10px rgba(0, 0, 0, 0.5);
  transition: filter 0.2s ease-in-out;
  margin: 0;
}

.one:hover {
  filter: brightness(70%);
}

.two {
  background-image: url(files/new_stock/malerarbeiten_comp.webp);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.5),
    10px 0 10px -10px rgba(0, 0, 0, 0.5), -10px 0 10px -10px rgba(0, 0, 0, 0.5);
  transition: filter 0.2s ease-in-out;
  margin: 0;
}

.two:hover {
  filter: brightness(70%);
}

.three {
  background-image: url(files/new_stock/fliessen_comp.webp);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.5),
    10px 0 10px -10px rgba(0, 0, 0, 0.5), -10px 0 10px -10px rgba(0, 0, 0, 0.5);
  transition: filter 0.2s ease-in-out;
  margin: 0;
}

.three:hover {
  filter: brightness(70%);
}

.four {
  background-image: url(files/new_stock/balkon_comp.webp);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.5),
    10px 0 10px -10px rgba(0, 0, 0, 0.5), -10px 0 10px -10px rgba(0, 0, 0, 0.5);
  transition: filter 0.2s ease-in-out;
  margin: 0;
}

.four:hover {
  filter: brightness(70%);
}

.five {
  background-image: url(files/new_stock/pavillion_comp.webp);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.5),
    10px 0 10px -10px rgba(0, 0, 0, 0.5), -10px 0 10px -10px rgba(0, 0, 0, 0.5);
  transition: filter 0.2s ease-in-out;
  margin: 0;
}

.five:hover {
  filter: brightness(70%);
}

.six {
  background-image: url(files/new_stock/kueche_comp.webp);
  border-top-right-radius: 10px;
  border-top-left-radius: 10px;
  box-shadow: 0 -10px 10px -10px rgba(0, 0, 0, 0.5),
    10px 0 10px -10px rgba(0, 0, 0, 0.5), -10px 0 10px -10px rgba(0, 0, 0, 0.5);
  transition: filter 0.2s ease-in-out;
  margin: 0;
}

.six:hover {
  filter: brightness(70%);
}

.card-content {
  height: 12%;
  background-color: #f1f1f1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 10px 0 10px -10px rgba(0, 0, 0, 0.5),
    -10px 0 10px -10px rgba(0, 0, 0, 0.5);
}

.flip-card-back {
  transform: rotateY(180deg);
  background-color: #52525b;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 310px;
  height: 370px;
  padding: 20px;
  font-weight: 100;
  font-size: 1.2rem;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .card-row {
    flex-direction: column;
    align-items: center;
  }

  .flip-card {
    margin-bottom: 20px;
    margin-right: 0;
    margin-left: 0;
    margin-bottom: -50px;
  }

  .section-leistungen {
    margin: 0;
    margin-top: 40%;
  }

  .section-leistungen h2 {
    margin-top: -10%;
    margin-bottom: 20%;
  }

  .card-row {
    display: flex;
    justify-content: center;
    opacity: 1;
  }

  .card-row.animate {
    opacity: 1;
    transform: translateY(0);
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .card-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
  }

  .card {
    width: calc(50% - 100px);
    margin-bottom: 20px;
  }
}

/*
.section-portfolio.animate {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.section-portfolio {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

*/

.section-portfolio h2 {
  font-size: 2rem;
  font-weight: 100;
  text-decoration: underline;
  margin-top: 2%;
  margin-bottom: 3%;
  text-align: center;
}

.section-portfolio p {
  font-size: 1.2rem;
  font-weight: 100;
}

.gallery {
  display: flex;
  justify-content: center;
}

.gallery-images {
  display: flex;
}

.gallery-images img {
  width: 280px;
  height: 250px;
  object-fit: cover;
  margin-right: 10px;
  cursor: pointer;
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.row {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.gallery img {
  width: 250px;
  height: 200px;
  object-fit: cover;
  margin-right: 10px;
  cursor: pointer;
  transition: filter 0.2s ease-in-out;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 80%;
  max-height: 80%;
  margin: auto;
  margin-top: 5%;
}

.modal-content .slides {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.modal-content .slides .slide {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  width: 80vw;
  height: 80vh;
}

.close {
  color: #fff;
  position: absolute;
  top: 15px;
  right: 35px;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.prev,
.next {
  color: #fff;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

.link-btn {
  margin-top: 50px;
  --primary-color: #082f49;
  --secondary-color: #fff;
  --hover-color: #111;
  --arrow-width: 10px;
  --arrow-stroke: 2px;
  box-sizing: border-box;
  border: 0;
  border-radius: 20px;
  color: var(--secondary-color);
  padding: 1em 1.8em;
  background: var(--primary-color);
  display: flex;
  transition: 0.2s background;
  align-items: center;
  gap: 0.6em;
  font-weight: bold;
  cursor: pointer;
}

.link-btn .arrow-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.link-btn .arrow {
  margin-top: 1px;
  width: var(--arrow-width);
  background: var(--primary-color);
  height: var(--arrow-stroke);
  position: relative;
  transition: 0.2s;
}

.link-btn .arrow::before {
  content: "";
  box-sizing: border-box;
  position: absolute;
  border: solid var(--secondary-color);
  border-width: 0 var(--arrow-stroke) var(--arrow-stroke) 0;
  display: inline-block;
  top: -3px;
  right: 3px;
  transition: 0.2s;
  padding: 3px;
  transform: rotate(-45deg);
}

.link-btn:hover {
  background-color: var(--hover-color);
}

.link-btn:hover .arrow {
  background: var(--secondary-color);
}

.link-btn:hover .arrow:before {
  right: 0;
}

@media screen and (max-width: 767px) {
  .row {
    flex-direction: column;
  }

  .gallery img {
    margin-bottom: 50px;
  }

  .section-portfolio h2 {
    margin-bottom: 10%;
    margin-top: 10%;
  }

  .gallery-images img {
    width: 100px;
    height: 70px;
  }

  .link-btn {
    margin-top: 0px;
  }

  .modal-content {
    margin-top: 30%;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 50px;
    grid-row-gap: 50px;
  }

  .row img {
    width: 300px;
    height: 250px;
  }

  .modal-content {
    margin-top: 20%;
  }
}

.background-color {
  background-color: #082f49;
  min-height: 900px;
}

.custom-shape-divider-top-1686666561 {
  position: absolute;
  left: 0;
  width: 100%;
  height: 800px;
}

.custom-shape-divider-top-1686666561 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 204px;
  transform: rotateY(180deg);
}

.custom-shape-divider-top-1686666561 .shape-fill {
  fill: #ffffff;
}

.section-end {
  margin-top: 3%;
}

.end-row {
  display: flex;
  justify-content: center;
}

.end-info {
  width: 100%;
  height: 550px;
  margin-left: 5%;
  margin-top: 3%;
  border-right: 1px solid white;
}

.end-info a {
  color: white;
  text-decoration: none;
  font-weight: 100;
}

.end-form {
  width: 100%;
  height: 500px;
  margin-right: 5%;
}

.end-row h3 {
  color: white;
  font-weight: 500;
  font-size: 1.6rem;
}

.regular-p {
  color: #93c5fd;
  font-weight: 100;
  font-size: 1.2rem;
  margin-top: 40px;
}

.icon-list {
  padding: 0;
  margin-top: 10%;
}

.icon-list li {
  list-style: none;
  display: flex;
  align-items: center;
  color: white;
  font-weight: 100;
  font-size: 1.2rem;
}

.icon-circle {
  width: 40px;
  height: 40px;
  margin-right: 50px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 10px #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.icon-circle:hover {
  transform: scale(1.1);
}

.icon-circle .icon-phone {
  width: 60%;
  height: auto;
}

.icon-circle .icon-envelope {
  width: 80%;
  height: auto;
  margin-top: -5px;
}

.icon-circle .icon-location {
  width: 50%;
  height: auto;
}

.icon-list span {
  line-height: 90px;
  max-width: 100%;
}

.dsgvo-container {
  position: absolute;
  bottom: 10px;
}

.dsgvo-container a {
  font-size: 0.8rem;
  transition: all 0.5s ease-in-out;
}

.dsgvo-container a:hover {
  text-decoration: underline;
}

.dsgvo-container span {
  color: white;
  margin: 10px;
  font-weight: 100;
  font-size: 0.8rem;
}

#contact-form {
  margin-top: 8%;
}

.end-form {
  padding: 20px;
  border-radius: 4px;
  font-weight: 100;
}

.end-form h3 {
  color: #082f49;
  font-weight: 500;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 100;
  margin-bottom: 5px;
  color: white;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: none;
  border-bottom: 1px solid #ccc;
  background-color: transparent;
  transition: border-bottom-color 0.3s ease-in-out;
  color: white;
  font-size: 1.2rem;
  font-weight: 100;
}

input:focus,
textarea:focus {
  outline: none;
}

.end-form a {
  color: white;
  text-decoration: underline;
}

.end-form a:hover {
  color: #fff;
  text-decoration: none;
}

.button {
  background-color: #06507a;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 5%;
}

.button:hover {
  background-color: #06507a;
}

.dsgvo-container-mobile {
  display: none;
}

@media screen and (max-width: 768px) {
  .end-info span {
    line-height: 30px;
    margin-right: 5%;
  }

  .background-color {
    background-color: #082f49;
  }

  .custom-shape-divider-top-1686666561 {
    height: auto;
    overflow: hidden;
  }

  .custom-shape-divider-top-1686666561 svg {
    height: 60px;
  }

  .link-btn {
    margin-bottom: 50px;
  }

  .section-end {
    margin-top: 3%;
  }

  .end-row {
    flex-direction: column;
  }

  .end-info {
    max-width: 100%;
    height: auto;
    margin-left: 5%;
    margin-top: 3%;
    border-right: none;
  }

  .end-info p {
    white-space: normal;
    word-break: break-word;
    display: inline-block;
    margin-right: 5%;
  }

  .end-form {
    width: 100%;
    height: auto;
    margin-right: 5%;
    margin-top: 3%;
    background-color: #082f49;
    padding: 20px;
    box-sizing: border-box;
  }

  .icon-list span {
    margin-top: -50px;
    line-height: 25px;
  }

  .icon-circle {
    margin-bottom: 50px;
  }

  .end-form h3 {
    color: #fff;
  }

  .form-group,
  label,
  input,
  textarea {
    color: #fff;
    width: 97%;
  }

  .end-form p {
    color: #fff;
    font-size: 0.8rem;
    margin-bottom: 15px;
  }

  .button {
    margin-top: 15px;
    margin-bottom: 50px;
  }

  .dsgvo-container {
    display: none;
  }

  .dsgvo-container-mobile {
    display: flex;
    justify-content: center;
    margin-top: 50px;
  }

  .dsgvo-container-mobile a {
    display: inline-block;
    color: white;
    font-weight: 100;
    text-decoration: none;
    font-size: 0.8rem;
  }

  .dsgvo-container-mobile span {
    color: white;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .icon-list span {
    line-height: 30px;
    margin-top: -40px;
  }

  .icon-circle {
    margin-bottom: 50px;
  }
}

.disclaimer_form_wrapper {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
}

.disclaimer_form_wrapper label {
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  cursor: pointer;
}

.disclaimer_form_wrapper input {
  cursor: pointer;
}

.checkbox {
  width: 5%;
}

.checkbox_text {
  width: 95%;
}
