/* Kontaktformular Styles */
.contact-section {
  background: linear-gradient(145deg, var(--antracit), var(--background));
  color: var(--white);
  padding: 60px 20px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: var(--yellow);
  text-align: center;
  font-weight: 800;
  position: relative;
}

.contact-section h1::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--yellow);
  margin: 15px auto 0;
  border-radius: 2px;
}

.contact-form {
  background: rgba(26, 26, 26, 0.95);
  padding: 40px 35px;
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-group label {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.1em;
  margin-left: 5px;
  transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 2px solid rgba(255, 184, 0, 0.3);
  background: rgba(26, 26, 26, 0.9);
  color: var(--white);
  font-size: 1.05em;
  resize: vertical;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: rgba(47, 47, 47, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.1);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(255, 215, 0, 0.5);
}

.contact-form .quote-button {
  margin-top: 15px;
  width: 100%;
  font-size: 1.2em;
  font-weight: bold;
  padding: 15px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form .quote-button:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

@media (max-width: 600px) {
  .contact-form {
    padding: 25px 20px;
    max-width: 92vw;
    margin: 0 auto;
  }
  .contact-section {
    padding: 40px 15px 50px;
  }
  .contact-section h1 {
    font-size: 2em;
  }
}
/* Color Variables */
:root {
  --antracit: #333333;
  --black: #000000;
  --white: #ffffff;
  --yellow: #FFB800;
  --yellow-light: #FFD700;
  --yellow-dark: #CC9600;
  --background: #1a1a1a;
  --text-color: #ffffff;
  --primary-button-bg: #FFB800;
  --primary-button-text: #000000;
  --secondary-button-bg: #333333;
  --secondary-button-text: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  color: var(--text-color); /* Use color variable */
  overflow-x: hidden;
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: var(--background); /* Use color variable */
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--antracit);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 80px; /* Set a fixed height for the header */
}



.navbar a:hover {
  background-color: var(--yellow); /* Change background to yellow */
  color: var(--black); /* Change text color to black for contrast */
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 5px;
  color: var(--white);
}


.navbar {
  display: flex;
  gap: 20px;
  background-color: var(--antracit);
}


.header img {
  max-width: 135px; /* Increase the max-width as needed */
}

.navbar a {
  color: var(--white); /* Use color variable */
  text-decoration: none;
  padding: 10px 15px;
  font-weight: bold;
}

.quote-button {
  background-color: var(--primary-button-bg); /* Use color variable */
  color: var(--primary-button-text); /* Use color variable */
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
}

.quote-button:hover {
  background-color: var(--primary-button-bg);
  opacity: 0.8;
}

.call-now {
  padding: 10px 15px;
  border: 1px solid var(--antracit);
  border-radius: 5px;
  text-decoration: none;
  color: var(--antracit);
}

.hamburger .bar {
  height: 3px;
  width: 30px;
  background-color: var(--white);
  margin: 2px; /* Increase margin to give more space between bars */
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    background-color: var(--white);
    right: -100%; /* Initially hide the navbar off the screen to the left */
    height: 100vh; /* Take the full height of the screen */
    width: 100%; /* Adjust width to cover the full screen */
    transition: left 1s ease; /* Add a transition effect for smooth sliding */
    z-index: 999; /* Ensure the navbar covers the hamburger */
  }

  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Ensure hamburger is above the navbar */
    position: relative; /* Position it for easy manipulation */
  }

  .navbar a {
    padding: 15px;
    text-align: center;
    color: white;
  }

  .hamburger {
    display: flex;
  }



  .header.open .navbar {
    right: 0; /* Slide the navbar in from the left */
    display: flex;
  }

  .header.open .hamburger .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .header.open .hamburger .bar:nth-child(2) {
    opacity: 0; /* Hide the middle bar */
  }
  
  .header.open .hamburger .bar:nth-child(3) {
    transform: rotate(-45deg) translate(4.3px, -4.3px);
  }
}


/* Base styles for the home class */
.home {
  background-image: url('../iamges/home.webp');
  background-repeat: no-repeat;
  background-position: center; /* Centers the image */
  background-size: contain; /* Scales the image while maintaining its aspect ratio */
  width: 100%;  /* Make sure it takes the full width */
  min-height: 110vh; /* Ensures at least the full viewport height */
  display: flex; /* Helps with height scaling for the container */
  justify-content: center; /* Center content horizontally */
  align-items: center; /* Center content vertically */
}

/* Media Queries for tablets and smaller screens */
@media (max-width: 768px) {
  .home {
    background-image: url('../iamges/mobile.webp');
    min-height: 100vh;
    background-size: contain;

  }
}

/* Media Queries for phones and extra small screens */
@media (max-width: 480px) {
  .home {
    background-image: url('../iamges/mobile.webp');
    background-size: contain;
  }

  .header img {
    max-width: 135px;
    position: relative;
    margin-top: 17px; /* This ensures the image is vertically centered */
  }
}






.home p {
  color: var(--white);
}

.overlay-text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.large-text {
  font-size: 12em;
  color: var(--white);
  opacity: 0.9;
  position: relative;
  top: -0.3em;
}

.large-text2 {
  font-size: 12em;
  color: var(--white);
  opacity: 0.9;
  position: relative;
  top: 0.2em;
}

.and {
  font-size: 6em;
  position: relative;
  top: -0.2em;
  left: 0.1em;
  color: var(--white);
  opacity: 0.9;
}

.content p {
  font-size: 1.2em;
  margin-top: 20px;
}

.home .text2 {
  font-size: 2em;
}

@media (max-width: 1200px) {
  .large-text, .large-text2 {
    font-size: 6em;
  }

  .and {
    font-size: 4em;
  }
}

@media (max-width: 768px) {
  .navbar {
    display: none;
    flex-direction: column;
    background-color: var(--antracit);
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    border-radius: 8px;
    overflow: hidden;
  }

  .navbar.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .large-text, .large-text2 {
    font-size: 40em;
  }

  .and {
    font-size: 3em;
  }

  .content p {
    font-size: 1em;
  }

  .home .text2 {
    font-size: 2em;
  }
}

@media (max-width: 480px) {
  .large-text, .large-text2 {
    font-size: 15em;
  }

  .and {
    font-size: 2em;
  }

  .content p {
    font-size: 2em;
  }

  .home .text2 {
    font-size: 1.3em;
  }
}

/* Custom styles for the cards */
#stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  margin: 5vh auto;
  width: 100%;
}

.video-card {
  position: relative;
  overflow: hidden;
}

.video-container1 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.video-container1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Place video behind content */
  overflow: hidden;
  border-radius: 15px; /* Match card border-radius */
}

.circle-button1 {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px; /* Reduced the size */
  height: 70px; /* Reduced the size */
  background-color: var(--primary-button-bg);
  color: var(--primary-button-text);
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 0.9em; /* Reduced the font size */
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1; /* Ensure button is above content */
}

.circle-button1 a {
  text-decoration: none;
  color: var(--black);
  display: inline-block; /* Ensures the margin is applied properly */
  margin-top: 10px; /* Add margin around the text */
}


.circle-button1:hover {
  background-color: var(--primary-button-bg);
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .circle-button1 {
    width: 60px; /* Further reduce size for smaller screens */
    height: 60px;
    line-height: 10px;
    font-size: 0.7em; /* Adjust font size */
  }
}

@media (max-width: 768px) {
  .circle-button1 {
    width: 50px; /* Further reduce size for smaller screens */
    height: 50px;
    font-size: 0.6em; /* Adjust font size */
  }
}

@media (max-width: 480px) {
  .circle-button1 {
    width: 40px; /* Further reduce size for the smallest screens */
    height: 40px;
    font-size: 0.5em; /* Adjust font size */
  }
}

.circle-button1 a{
  text-decoration: none;
  color: var(--black);
}

.circle-button1:hover {
  background-color: var(--primary-button-bg);
  opacity: 0.8;
}


.card {
  background-color: var(--black);
  color: var(--black);
  border-radius: 15px;
  padding: 2em;
  width: 80%;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: sticky;
  top: calc(var(--top) * 1px);
  transform: rotate(calc(var(--tilt-angle) * (2 * (var(--r) - 0.5))));
}

.card.large {
  height: 70vh;
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.card.large .card-content h2 {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 10px;
  border-radius: 5px;
  color: var(--white);
}

.card.small {
  flex-direction: row;
  height: 50vh;
  display: flex;
}

.card.small img {
  width: 100%;
  max-height: 450px;
  border-radius: 10px;
  margin-left: 1em;
}

.card.small .card-content h2 {
  padding: 10px;
  position: absolute;
  border-radius: 5px;
  top: 0;
  left: 0;
  color: var(--yellow);
}

.card.small .card-content p {
  margin-top: 70px;
  padding: 10px;
  color: var(--white);
}

.card.stuck {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background-color: #ffcccc;
}

.card:nth-child(4n + 1) {
  --top: 70;
}

.card:nth-child(4n + 2) {
  --top: 160;
}

.card:nth-child(4n + 3) {
  --top: 250;
}

@media (max-width: 1024px) {
  .card {
    width: 90%;
  }

  .card.large {
    height: 60vh;
  }

  .card.small {
    flex-direction: column;
    height: auto;
  }

  .card.small img {
    width: 100%;
    margin-left: 0;
    margin-top: 1em;
  }

  .card.small .card-content h2,
  .card.small .card-content p {
    position: static;
    margin: 0;
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .card {
    width: 95%;
  }

  .card.large {
    height: 50vh;
  }

  .card.small {
    height: auto;
  }
}

@media (max-width: 480px) {
  .card {
    width: 100%;
    padding: 1em;
  }

  .card.large {
    height: 40vh;
  }

  .card.small img {
    max-height: 300px;
  }

  .card.small .card-content h2,
  .card.small .card-content p {
    padding: 5px;
  }

  .card:nth-child(4n + 1) {
    --top: 150;
  }
  
  .card:nth-child(4n + 2) {
    --top: 210;
  }
  
  .card:nth-child(4n + 3) {
    --top: 270;
  }
}

/* New styles for focus-area */
.focus-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px;
  margin: 20px auto;
  background-color: var(--white);
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
  height: 800px;
}

.video-container {
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
}

.video-container video {
  margin-top: 50px;
  width: 100%;
  height: 80%;
  object-fit: fill;
  border-radius: 15px;
}

.text-container1 {
  flex: 1;
  padding: 40px;
}

.text-container1 h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: yellow;
}

.text-container1 h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--yellow);
}

.text-container1 p {
  font-size: 1.1em;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #000;
}

.circle-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  background-color: var(--black);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  font-size: 0.9em;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.circle-button:hover {
  background-color: var(--primary-button-bg);
}

/* Media Queries for Responsiveness */
@media (max-width: 1200px) {
  .text-container1 h1 {
    font-size: 2em;
  }

  .circle-button {
    width: 120px;
    height: 120px;
    font-size: 0.8em;
  }
}

@media (max-width: 768px) {
  .focus-area {
    flex-direction: column;
  }

  .video-container {
    width: 100%;
    height: 40vh;
    border-radius: 15px 15px 0 0;
  }

  .text-container1 {
    padding: 20px;
    text-align: center;
  }

  .circle-button {
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .text-container1 h1 {
    font-size: 1.5em;
  }

  .text-container1 p {
    font-size: 1em;
  }

  .circle-button {
    width: 100px;
    height: 100px;
    font-size: 0.7em;
  }
}

.services {
  width: 90%;
  margin: 20px auto;
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.services h1 {
  text-align: center;
  color: black;
  font-size: 2em; /* Adjusted for better responsiveness */
  margin-bottom: 30px;
  font-weight: 300;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.service-card:last-child {
  border-bottom: none;
}

.service-card img {
  max-width: 50px; /* Smaller image size */
  max-height: 50px; /* Smaller image size */
  margin-bottom: 10px; /* Space between image and title */
}

.service-title {
  flex: 0 0 auto;
  color: var(--black);
  text-align: left;
  margin-bottom: 10px; /* Space between title and description */
}

.service-title h2 {
  font-size: 1.2em; /* Smaller heading size */
  margin: 0; /* Remove margin for tighter fit */
  font-weight: 400;
}

.service-description {
  flex: 1;
  padding-left: 0;
  margin-top: 10px; /* Space between title and description */
}

.service-description p {
  font-size: 0.9em; /* Slightly smaller text for readability */
  color: var(--antracit);
  line-height: 1.5;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .services h1 {
    font-size: 3.8em; /* Adjust h1 size for tablets */
  }

  .service-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-title {
    text-align: left;
  }

  .service-description {
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .services h1 {
    font-size: 1.5em; /* Adjust h1 size for mobile */
  }

  .service-card img {
    max-width: 40px; /* Smaller image size for mobile */
    max-height: 40px;
  }

  .service-title h2 {
    font-size: 1em; /* Smaller heading size for mobile */
  }

  .service-description p {
    font-size: 0.85em; /* Slightly smaller text for readability on mobile */
  }
}


.projects-section {
  margin: 30px auto;
  background-color: var(--white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  border-radius: 15px;
  max-width: 90%;
  text-align: center;
  min-height: 780px;
}

.projects-section h1{
  font-size: 3.1em;
  color: #000;
}


.projects-carousel {
  display: flex;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.project-column {
  position: relative;
  height: 740px;
  width: 280px;
  overflow: hidden;
  margin: 0 80px;
}

@keyframes scroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(-100px * 16)); }
}

@keyframes reverse-scroll {
  0% { transform: translateY(calc(-100px * 16)); }
  100% { transform: translateY(0); }
}

.slide-track {
  display: flex;
  flex-direction: column;
  animation: scroll 25s linear infinite;
  height: calc(100px * 16);
}

.middle-column .slide-track {
  animation: reverse-scroll 25s linear infinite;
}

.project-card {
  border-radius: 15px;
  width: 280px;
  min-height: 450px;
  display: flex;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-content {
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  padding: 10px;
  text-align: center;
  width: 100%;
}

.project-number {
  font-size: 24px;
  font-weight: bold;
}

.project-title {
  font-size: 18px;
}

@media (max-width: 768px) {
  .projects-carousel {
    flex-direction: column;
    align-items: center;
  }

  .project-column {
    margin: 20px 0;
  }

  .projects-section h1{

    font-size: 1.8em;

  }
}

.testimonials {
  text-align: center;
  padding: 50px;
  background-color: var(--white);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.testimonials h3 {
  font-size: 1.2em;
  color: var(--antracit);
  margin-bottom: 10px;
}

.testimonials h1 {
  font-size: 2.5em;
  color: var(--black);
  margin-bottom: 40px;
}

.testimonial-cards {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 20px;
}

.testimonials .card {
  background-color: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 30%;
  box-sizing: border-box;
}

.testimonials .card p {
  font-size: 1em;
  color: var(--antracit);
  line-height: 1.5;
}

.testimonials .card .client-name {
  font-size: 1.1em;
  font-weight: bold;
  color: var(--black);
  margin-top: 10px;
}

.testimonials .card .stars {
  font-size: 1.2em;
  color: var(--yellow); /* Changed to yellow */
  margin-top: 5px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .testimonials h1 {
    font-size: 2em;
  }

  .testimonials .card {
    width: 45%;
  }
}

@media (max-width: 768px) {
  .testimonials h1 {
    font-size: 1.8em;
  }

  .testimonials .card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .testimonials {
    padding: 20px;
  }

  .testimonials h3 {
    font-size: 1em;
  }

  .testimonials h1 {
    font-size: 1.5em;
    margin-bottom: 20px;
  }

  .testimonials .card {
    padding: 15px;
  }

  .testimonials .card p {
    font-size: 0.9em;
  }

  .testimonials .card .client-name {
    font-size: 1em;
  }

  .testimonials .card .stars {
    font-size: 1em;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  background-color: black; /* Yellow */
  padding: 50px 0;
  border-radius: 20px;
  color: var(--secondary-button-text);
  text-align: left;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-left,
.footer-center,
.footer-right {
  width: 100%;
  margin-bottom: 20px;
}

.footer-left {
  display: flex;
  align-items: center;
}

.footer-logo img {
  width: 300px;
  margin-right: 10px;
}

.footer-company p {
  font-size: 1.2em;
  margin: 0;
}

.footer-center {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0 20px;
}

.footer-links li {
  margin-bottom: 10px;
  font-size: 1em;
}

.footer-links a{
  margin-bottom: 10px;
  font-size: 1em;
  text-decoration: none;
  color: white;
}

.footer-links li:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
  font-size: 0.9em;
}

.footer-bottom a {
  color: var(--secondary-button-text);
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-left {
    flex: 1;
    margin-bottom: 0;
  }

  .footer-center {
    flex: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-links {
    flex: 1;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
  }

  .footer-bottom {
    flex: 1;
  }
}

@media (max-width: 767px) {
  .footer-center {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
  }

  .footer-links:first-child {
    margin-right: 20px;
  }

  .footer-links ul {
    margin: 0;
    padding: 0;
  }

  .footer-bottom {
    margin-top: 20px;
  }
}



/* Centering contact-info */
.interactive-section {
  margin-top: 100px;
  margin-bottom: 200px;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  padding: 50px;
  background-color: var(--black);
  border-radius: 15px;
  min-height: 800px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info {
  flex-direction: column; /* Stack elements vertically */
  align-items: center; /* Center children horizontally */
  justify-content: center; /* Center children vertically */
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  min-width: 1600px; /* Ensures a minimum width on large screens */
  width: 80%; /* Covers 80% of the available width on large screens */
}

/* Adjustments for medium screens */
@media (max-width: 1200px) {
  .contact-info {
    min-width: unset; /* Removes min-width for medium screens */
    max-width: 90%; /* Max width for medium screens */
    width: 100%; /* Full width for medium screens */
  }
}

/* Adjustments for small screens */
@media (max-width: 768px) {
  .interactive-section {
    flex-direction: column; /* Stack elements vertically */
  }

  .contact-info {
    min-width: 400px; /* Removes min-width for small screens */
    max-width: 100%; /* Ensures full width on small screens */
    padding: 20px; /* Adjust padding for smaller screens */
  }
}



.question-box {
  align-items: center;
  flex: 1;
}

.question-box h1 {
  font-size: 2em;
  margin-bottom: 40px;
  color: var(--yellow);
}

.question-box form label {
  display: block;
  margin-bottom: 15px;
  font-size: 1.2em;
  cursor: pointer;
}

.question-box form label input {
  margin-right: 10px;
}

.info-box, .contact-info {
  flex: 6;
  align-items: center;
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.info-box p {
  font-size: 1.2em;
  color: #555;
}

.contact-info h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #000;
}

/* Base styles for form group */
.form-group {
  display: flex;
  flex-wrap: wrap; /* Allows wrapping of fields to the next line */
  gap: 20px; /* Adds space between the input fields */
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  flex: 1; /* Fields will take up equal space */
  min-width: calc(50% - 10px); /* Ensures two fields can fit side by side on larger screens */
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ddd;
  font-size: 16px;
}

.form-group textarea {
  min-width: 100%; /* Textarea spans full width */
  resize: vertical; /* Allows users to resize vertically */
}

.form-group label {
  margin-bottom: 5px;
  font-size: 16px;
}

.form-group input[type="file"] {
  padding: 5px;
  min-width: 100%; /* File inputs span full width */
}

/* Responsive Design for Form on Smaller Screens */
@media (max-width: 768px) {
  .form-group {
    flex-direction: column; /* Stacks form fields vertically */
    gap: 15px; /* Reduces gap between fields on small screens */
  }

  .form-group input,
  .form-group textarea,
  .form-group input[type="file"] {
    min-width: 100%; /* Ensures all inputs take up full width */
    padding: 12px; /* Adds a bit more padding for touch devices */
  }

  #submit-button {
    padding: 15px; /* Increased padding for better touchability */
    font-size: 18px; /* Slightly larger text for readability */
  }
}




button[type="submit"] {
  padding: 15px 30px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #333;
  color: white;
  font-size: 1em;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #555;
}

.question-box button, .option-card {
  display: block;
  width: 100%;
  margin: 10px 0;
  margin-right: 10px;
  padding: 15px;
  background-color: #f0f0f0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
}
.option-card:hover,
.option-card.selected {
  background-color: var(--yellow);
  color: var(--black); /* Change text color to black for contrast */
}

  .next-button {
    max-width: 100px;
    margin-right: 10px;
  }
.back-button {
  max-width: 100px;
  margin-right: 300px;
}
.question-step {
  display: none;
}
.question-step.active {
  display: block;
}
.contact-info {
  display: none;
}
.contact-info.active {
  display: block;
}
.question-box.hidden {
  display: none;
}



#budget-input {
  width: calc(100% - 30px);
  padding: 10px;
  font-size: 16px;
  border: 2px solid #ccc;
  border-radius: 5px;
  margin-top: 10px;
  transition: border-color 0.3s ease;
}
#budget-input:focus {
  border-color: #4caf50;
  outline: none;
}
.form-group {
  margin-bottom: 20px;
}
#privacy-check {
  display: none; /* Hide the default checkbox */
}

label[for="privacy-check"] {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

label[for="privacy-check"]::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  border: 2px solid var(--yellow); /* Yellow border */
  border-radius: 3px;
  background-color: #fff;
  vertical-align: middle;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  text-align: center;
}

#privacy-check:checked + label[for="privacy-check"]::before {
  background-color: var(--yellow); /* Yellow background when checked */
  border-color: yellow;
  color: #000; /* Black text color */
  content: "X"; /* Display the "X" when checked */
  font-size: 16px;
  font-weight: bold; /* Adjust size of "X" */
  line-height: 20px; /* Center "X" vertically */
}

label[for="privacy-check"] {
  margin-right: 0; /* Remove extra margin between checkbox and label */
}

#submit-button {
  width: 100%;
  padding: 15px;
  background-color: var(--yellow);
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
#submit-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
#submit-button:hover:not(:disabled) {
  background-color: var(--yellow);
}



.projects {
  background-color: var(--black);
  padding: 40px 20px;
  border-radius: 20px;
  width: 90%;
  margin: 150px auto;
}

.header-content {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 30px;
}

.text-container {
  display: flex;
  width: 100%;
}

.text-container h1 {
  flex: 1;
  color: #fff;
  font-size: 2em;
  margin-right: 40px;
}

.text-content {
  flex: 2;
  color: #ccc;
  text-align: left; /* Align text to the left */
  margin-left: auto; /* Push the entire block to the right */
  max-width: 60%; /* Optional: limit the width of the text content */
}

.project-cards-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.project-card {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 400px;
  text-align: left;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
}

.project-card img {
  width: 100%;
  height: auto;
  display: block;
}

.project-info {
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.project-number {
  font-size: 1.5em;
  color: #666;
  margin-bottom: 10px;
}

.project-info h3 {
  margin: 0;
  font-size: 1.2em;
  color: #333;
}

.form-group label  {
  color: var(--black);
}


/* Responsive Design for Form and Other Elements */
@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
  }

  #thank-you-message {
    font-size: 1.2em;
  }

}

/* Navigation Buttons */
.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

/* Styles for Impressum Section */
.Impressum {
  background-color: #fff;
  padding: 20px;
  margin: 200px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #000;
}

.Impressum h1 {
  font-size: 2.5em;
  margin-top: 0;
  text-align: center;
  color: var(--primary-color); /* Use your primary color */
}

.Impressum h2 {
  font-size: 1.75em;
  margin-top: 20px;
  border-bottom: 2px solid var(--primary-color); /* Adds a visual separator */
  padding-bottom: 5px;
}

.Impressum p {
  font-size: 1em;
  line-height: 1.6;
  margin: 10px 0;
}

.Impressum a {
  color: var(--primary-color); /* Use your primary color */
  text-decoration: none;
}

.Impressum a:hover {
  text-decoration: underline;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .Impressum {
    padding: 15px;
    margin: 15px;
    margin-top: 200px;
  }

  .Impressum h1 {
    font-size: 2em;
  }

  .Impressum h2 {
    font-size: 1.5em;
  }
  
  .Impressum p {
    font-size: 0.9em;
  }
}


/* General styles for the Datenschutz section */
.datenschutz {
  padding: 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.datenschutz h1,
.datenschutz h2,
.datenschutz h3,
.datenschutz h4 {
  color: #003366; /* Dark blue color for headings */
}

.datenschutz h1 {
  font-size: 2em;
  margin-bottom: 20px;
}

.datenschutz h2 {
  font-size: 1.5em;
  margin: 20px 0 10px;
}

.datenschutz h3 {
  font-size: 1.2em;
  margin: 15px 0 5px;
}

.datenschutz h4 {
  font-size: 1em;
  margin: 10px 0 5px;
}

.datenschutz p {
  margin: 10px 0;
  text-align: justify;
}

.datenschutz ul {
  margin: 10px 0;
  padding-left: 20px;
}

.datenschutz a {
  color: #0066cc; /* Blue color for links */
  text-decoration: none;
}

.datenschutz a:hover {
  text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
  .datenschutz {
      padding: 15px;
      margin-top: 20px;
  }

  .datenschutz h1 {
      font-size: 1.8em;
  }

  .datenschutz h2 {
      font-size: 1.4em;
  }

  .datenschutz h3 {
      font-size: 1.1em;
  }

  .datenschutz h4 {
      font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .datenschutz {
      padding: 10px;
      margin-top: 20px;
  }

  .datenschutz h1 {
      font-size: 1.6em;
  }

  .datenschutz h2 {
      font-size: 1.2em;
  }

  .datenschutz h3 {
      font-size: 1em;
  }

  .datenschutz h4 {
      font-size: 0.8em;
  }

  .datenschutz p {
      font-size: 0.9em;
  }
}

.renovierung-gallery {
  max-width: 90%;
  margin: 100px auto;
  padding: 20px;
  background-color: var(--antracit);
  border-radius: 10px;
}

.renovierung-gallery h2 {
  text-align: center;
  font-size: 2rem;
  color: #ffffff;
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.gallery-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item h3 {
  text-align: center;
  color: #ffffff;
  margin-top: 10px;
}

.gallery-item p {
  text-align: center;
  color: #ffffff;
}





.circle-button2 {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 70px; /* Reduced the size */
  height: 70px; /* Reduced the size */
  background-color: var(--white);
  color: var(--primary-button-text);
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 0.9em; /* Reduced the font size */
  font-weight: bold;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 1; /* Ensure button is above content */
}

.circle-button2 a {
  text-decoration: none;
  color: var(--black);
  display: inline-block; /* Ensures the margin is applied properly */
  margin-top: 10px; /* Add margin around the text */
}


.circle-button2:hover {
  background-color: var(--primary-button-bg);
  opacity: 0.8;
}

@media (max-width: 1024px) {
  .circle-button2 {
    width: 60px; /* Further reduce size for smaller screens */
    height: 60px;
    line-height: 10px;
    font-size: 0.7em; /* Adjust font size */
  }
}

@media (max-width: 768px) {
  .circle-button2 {
    width: 50px; /* Further reduce size for smaller screens */
    height: 50px;
    font-size: 0.6em; /* Adjust font size */
  }
}

@media (max-width: 480px) {
  .circle-button2 {
    width: 40px; /* Further reduce size for the smallest screens */
    height: 40px;
    font-size: 0.4em; /* Adjust font size */
  }
}

.circle-button2 a{
  text-decoration: none;
  color: var(--black);
}

.circle-button2:hover {
  background-color: var(--primary-button-bg);
  color: white;
  opacity: 0.8;
}

.circle-button2:hover a{
  color: var(--secondary-button-text);
  opacity: 0.8;
}

/* General styling for the About Us section */
.about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  background-color: #000000;
}

.about-image {
  flex: 1;
  margin-right: 30px;
  position: relative;
  max-width: 720px; /* Adjust width as needed */
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 15px; /* Rounded corners for the image */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}


.about-text {
  flex: 1;
  font-family: 'Arial', sans-serif;
color: #ffffff;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--yellow); /* Accent color for the heading */
}

.about-text p {
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: justify;
}

.about-text p:first-of-type {
  margin-top: 0;
}

.about-text p:last-of-type {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .about {
      flex-direction: column;
      padding: 20px;
  }

  .about-image {
      margin-right: 0;
      margin-bottom: 20px;
  }

  .about-text h2 {
      font-size: 2rem;
  }

  .about-text p {
      font-size: 1rem;
  }
}


/* Kontaktangaben in der Fußzeile */
.footer-left { flex-wrap: wrap; gap: 1rem 2.5rem; }
.footer-contact { font-size: 1em; line-height: 1.8; color: white; }
.footer-contact p { margin: 0; }
.footer-contact a { color: white; text-decoration: underline; }
.footer-notdienst { font-weight: 700; color: var(--yellow); }
