@font-face {
  src: url(/fonts/OpenSans-Italic-VariableFont_wdth\wght.ttf);
  font-family: OpenSans-Italic-VariableFont_wdth;
}

@font-face {
  font-family: OpenSans-VariableFont_wdth;
  src: url(/fonts/OpenSans-VariableFont_wdth\wght.ttf);
}

@font-face {
  font-family: Roboto-Regular;
  src: url(/fonts/Roboto-Regular.ttf);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Roboto-Regular;
  display: flow-root;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

.welcome {
  background: url(/images/Bodenbeschichtung_16.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 50px;
  padding: 0;
  height: 500px;
  width: 100%;
}

.welcome h1 {
  font-size: 3em;
  text-align: center;
  color: white;
  display: inline-block;
  background-color: hsla(32, 100%, 50%, 0.562);
  padding: 20px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1;
  border-radius: 8px;
  margin-bottom: 20px;
}

.welcome-headline {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  top: 100px;
  z-index: 1;
  animation-name: slideUp;
  animation-duration: 2s;
}

.welcome p {
  color: white;
  text-align: center;
  padding: 20px;
  background-color: hsla(32, 100%, 50%, 0.562);
  font-size: 1.3em;
  line-height: 1;
  border-radius: 8px;
}

.content h1 {
  text-align: center;
  color: black;
  animation-name: slideUp;
  animation-duration: 2s;
  margin-top: 15px;
}

.content-text p {
  width: 55%;
  text-align: center;
  margin: auto;
  font-size: 20px;
  line-height: 1.8;
  animation-name: slideUp;
  animation-duration: 2s;
}

.divider-div {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 15px;
  margin-bottom: 10px;
}

.divider {
  width: 10%;
  border-top: 1px solid orange;
}

span {
  font-weight: bold;
}

/* Cards Panel */
.cards {
  display: flex;
  justify-content: space-evenly;
  margin-top: 100px;
}

.flip-card {
  background-color: transparent;
  width: 500px;
  height: 200px;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.5s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: hsl(0, 0%, 96%);
  border-radius: 15px;
  color: black;
}

.flip-card-front h1 {
  font-size: 35px;
  font-weight: 100;
}

.flip-card-front object {
  width: 35px;
}

.flip-card-front .icon-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  background-color: orange;
  border-radius: 100px;
  height: 60px;
  width: 60px;
}

/* Style the back side */
.flip-card-back {
  color: black;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
  background-color: hsl(0, 0%, 96%);
  transform: rotateY(180deg);
  border-radius: 15px;
}

.flip-card-back-content h1{
  margin-bottom: 20px;
}

.flip-card-back-text {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.flip-card-back p {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.0em;
  width: 95%;
}

.flip-card-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.flip-card-back a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: orange;
  border: none;
  border-radius: 15px;
  padding: 10px 100px;
  margin-top: 20px;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
}

.flip-card-back a:hover {
  color: black;
  cursor: pointer;
  transition: all 0.2s ease-in;
}

/* Trenner */

.trenner {
  display: flex;
  padding-right: 8%;
  padding-left: 8%;
  margin-top: 5%;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.trenner-strich {
  background-color: orange;
  width: calc(33.333333333333% - ((2% + 2%) * 0.33333333333333));
  height: 2px;
  margin-right: 2%;
}

.trenner-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
}

.trenner-button a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(33.333333333333% - ((2% + 2%) * 0.33333333333333));
  background-color: orange;
  text-align: center;
  padding: 10px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  width: 100%;
}

.trenner-button a {
  text-decoration: none;
}

.trenner-button a:hover {
  cursor: pointer;
  color: black;
  transition: all 0.2s ease-in;
}

.trenner-text {
  color: white;
}

.trenner-button .trenner-text:hover {
  color: hsl(0, 0%, 43%);
}

.trenner-strich2 {
  background-color: orange;
  width: calc(33.333333333333% - ((2% + 2%) * 0.33333333333333));
  height: 2px;
  margin-left: 2%;
}

/* Fusion */

.fusion {
  background: url(/images/ref1/Bodenbeschichtung_5.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding: 0;
  height: 450px;
  width: 100%;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fusion-text {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fusion-text p {
  color: white;
  text-align: center;
  font-weight: bold;
  padding: 60px;
  background-color: hsla(32, 100%, 50%, 0.562);
  font-size: 2.5em;
  line-height: 2;
  border-radius: 24px;
  width: 100%;
}

/* Content2 */

.content2 h1{
  color: black;
}

.content2-text {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.content2-text p {
  width: 42%;
  line-height: 2;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.content2-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content2-img .pic-container {
  width: 300px;
  position: relative;
  margin-right: 50px;
  margin-left: 50px;
}

.pic-container img {
  width: 100%;
  height: 214px;
  display: block;
  margin: auto;
  transition: 0.3s ease-in-out;
  border-radius: 8px;
}

.img-content {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: hsla(27, 100%, 50%, 0.6);
  opacity: 0;
  transition: 0.6s;
  border-radius: 8px;
}

.img-content h1 {
  color: white;
  margin: auto;
}

.img-content:hover {
  opacity: 1;
}

.content2-img img:hover {
  opacity: 0;
}

.img-content img {
  color: #ff730099;
  background-color: white;
  width: 50px;
  height: 50px;
  border-radius: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Content3 */

.content3 {
  background-color: hsl(0, 0%, 96%);
  margin-top: 100px;
}

.content3-header h1 {
  color: black;
  padding-top: 20px;
}

.content3-sym {
  display: flex;
  justify-content: center;
}

.content3-sym .sym-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.sym-container object {
  width: 60%;
}

.content3-sym .sym-icon {
  width: 100px;
  height: 100px;
  background-color: orange;
  border-radius: 150px;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 48px;
}

.content3-sym h1 {
  margin-top: 10px;
}

.sym-headline {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content3-sym .divider-sm {
  width: 20px;
  border-top: 1px solid orange;
  margin-top: -10px;
}

.content3-sym .sym-text {
  width: 20%;
  text-align: center;
  display: inline;
}

.sym-text p {
  margin-bottom: 20px;
  font-style: italic;
}

.sym-container {
  width: 20%;
  margin-right: auto;
  margin-left: auto;
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.4s ease;
}

.animate {
  opacity: 1;
  animation-name: slideUp;
  animation-duration: 1s;
}

/* Scrollbar */
::-webkit-scrollbar{
  -webkit-appearance: none !important;
}

::-webkit-scrollbar:vertical{
  width: 12px !important;
}
::-webkit-scrollbar:horizontal{
  height: 12px !important;
}

::-webkit-scrollbar-track{
  background-color: #fff !important;
  border-radius: 10px !important;
}

::-webkit-scrollbar-thumb{
  background: hsl(34, 100%, 50%) !important;
  border-radius: 10px !important;
  border: 2px solid #fff !important;
}

::-webkit-scrollbar-thumb:hover{
  background: hsl(34, 100%, 38%) !important;
}


/* Keyframes */

@keyframes slideLeft {
  from {
    transform: translateX(300%);
  }
}
@keyframes slideUp {
  from {
    transform: translateY(10%);
  }
}
@keyframes shrink {
  50% {
    transform: scale(0, 1);
  }
}
@keyframes glow {
  50% {
    box-shadow: 0px 0px 20px hsl(34, 100%, 50%);
  }
}

@keyframes opacity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 2rem;
  height: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger-menu .bar {
  width: 2rem;
  height: 0.25rem;
  background: #333;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

/* Media Queries */

@media (prefers-reduced-motion: no-preference) {
  .icon-animation {
    animation: shrink 0.5s ease, glow 2s;
  }
}

/* Default styles for desktop and large screens here */

/* Styles for tablets */
@media screen and (max-width: 1024px) {
  /* Add your CSS rules for tablet screens here */
}

/* Styles for medium-sized screens (e.g., small laptops, large tablets) */
@media screen and (max-width: 768px) {
  .welcome {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: auto;
    background-size: auto;
    background-attachment: local;
    background-position: center;
  }

  .welcome h1 {
    font-size: 2.5em;
    width: 90%;
  }

  .welcome-headline {
    top: 0;
  }

  .welcome-headline p {
    font-size: 1.2em;
    margin: 10px 0px;
    padding: 10px;
    width: 75%;
  }

  .cards {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .flip-card {
    width: 80%;
    margin-bottom: 20px;
  }

  .flip-card-front h1 {
    font-size: 1.7em;
  }
  .flip-card-back-text {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .flip-card-back-text p {
    font-size: 1em;
    line-height: 1.5em;
  }

  .flip-card-back h1 {
    font-size: 1.3em;
    margin-bottom: 10px;
  }

  .flip-card-button a {
    padding: 10px 50px;
  }

  .content-text p {
    width: 80%;
  }

  .content2-text {
    width: 80%;
    margin-left: 50%;
    font-size: 1.5em;
    transform: translateX(-50%);
  }

  .content2-text p {
    width: 100%;
    font-size: 20px;
  }

  .content2-img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .content2-img .pic-container {
    margin-bottom: 20px;
  }

  .content3-sym {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-direction: column;
  }

  .content3-sym .sym-text {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 500%;
    margin-left: 50%;
    transform: translateX(-50%);
  }

  .content3-sym .sym-text p {
    width: 80%;
    text-align: center;
    font-size: 20px;
    font-style: italic;
  }

  .trenner-button {
    width: 1000%;
  }

  .fusion-text p {
    font-size: 1.6rem;
    width: 85%;
    margin-top: 0;
    padding: 3rem 2rem;
  }

  .big-footer-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .big-footer-colum {
    width: 100%;
  }

  .big-footer-colum h4 {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4em;
  }

  .big-footer-colum .big-footer-colum-inhalt .big-footer-colum-headline {
    width: 250%;
  }

  .big-footer-colum img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
  }

  .big-footer-colum-inhalt {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .big-footer-colum-headline{
    font-size: 1.2em;
  }

  .big-footer-colum-text {
    width: 200%;
  }

  .big-footer-colum-text p {
    width: 100%;
    text-align: center;
    font-size: 1.2em;
  }

  .big-footer-colum-context h4 {
    text-align: center;
    margin-bottom: 40px;
  }

  .big-footer-colum:last-child p {
    text-align: center;
  }

  .big-footer-colum-headline h4 {
    text-align: center;
    font-size: 1.2em;
  }

  .small-footer-row {
    display: flex;
    flex-direction: column;
  }

  .small-footer-colum {
    margin-bottom: 10px;
  }
}

/* Styles for mobile devices */

