@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

a, a:hover {
    text-decoration: none;
}

.top-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: linear-gradient(90deg, #ff3131 0%, #ff820f 47%, #ffd929 100%);
    color: white;
    
}

.top-bar span {
    font-size: 14px;
    margin: 5px 0;
    vertical-align: middle;
    display: flex;
    align-items: center;
}

.top-bar ul {
    list-style: none;
    display: flex;
    gap: 10px;
}

.top-bar a {
    color: #fff;
    font-size: 20px;
}

.top-bar a:hover {
    color: #222;
}

nav {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    position: relative;
}
nav a{
    color: #000;
}
nav a:hover{
    color: rgb(255, 196, 0);
}
.logo {
    flex: 0.5;
}

.logo img {
    max-width: 200px;
    margin-left: 20px;
}

.menu {
    margin-right: 100px;
    display: flex;
    align-items: center;
    list-style: none;
    gap: 15px;
}

.menu li {
    padding: 10px 15px;
}

.menu .button {
    background-color: #FBAF11;
    border: none;
    color: white;
    padding: 15px;
    font-size: 15px;
    border-radius: 30px;
    display: inline-block;
    cursor: pointer;
}

.menu .button:hover {
    background-color: #ffc107;
}

.toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

header {
    height: 100vh; 
    background:  url(../assets/bg.png) center/cover no-repeat;
    display: flex;
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    color: white;
    text-align: center;
}

.text-box h1 {
    font-size: 3rem;
    padding: 0 15px;
    margin-bottom: 20px; 
}

.button-container {
    display: flex;
    justify-content: center; 
    align-items: center;
}

.button {
    border: none;
    border-radius: 0;
    padding: 15px 30px;
    font-size: 16px;
    font: weight 200px;
    color: white;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.button a{
  color: white;
}

.button:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

.button-info {
    background-color: #f6b300; 
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.button-services {
    background-color: #fdd835; 
}
.button-consultation {
    background-color: #f44336; 
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
}

.button + .button {
    margin-left: -5px; 
}


.exclusive-offer {
    display: flex;
    justify-content: center; 
    align-items: center; 
    text-align: left; 
    padding: 30px; 
    background: linear-gradient(90deg, #ff3131, #ff820f, #ffd929); 
    color: white;
    min-height: 150px; 
  }
  

  .offer-content {
    max-width: 800px; 
    width: 100%; 
    display: flex;
    justify-content: space-between; 
    align-items: center; 
  }
  .offer-content h2 {
    font-size: 1.8rem; 
    line-height: 1.4; 
    margin-left: -200px; 
    flex: 2; 
  }
  
  .offer-button {
    background: #ffe30f; 
    color: white; 
    border: none; 
    border-radius: 25px; 
    padding: 15px; 
    width: 30vh;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer; 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
    text-align: center; 
    margin-right: -240px;
  }
  
  .offer-button a {
    color: #fff;
  }
  
  .offer-button:hover {
    transform: scale(1.05); 
    
  }
  .about-us {
    max-width: 1200px;
    margin: 50px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    color: #333;
  }
  .about-us h1 {
    font-size: 24px;
    color: #003366;
    margin-bottom: 10px;
  }
  .about-us h2 {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
  }
  .about-us p {
    line-height: 1.6;
    margin-bottom: 15px;
  }
  .counter-section {
    text-align: center;
    background: linear-gradient(90deg, #ff3131, #ffd929);
    color: white;
    padding: 50px 20px;
    margin: 20px 0; 
  }
  .counter-section h1 {
    font-size: 5vh;
  }

  .counters {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
  }
  
  .counter {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .number {
    font-size: 3rem;
    font-weight: bold;
  }
  
  p {
    margin-top: 10px;
    font-size: 1.2rem;
  }
  .services-section {
    padding: 50px 20px;
    text-align: center; 
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.services-section h2::after {
    content: "";
    width: 280px; 
    height: 6px; 
    background: linear-gradient(90deg, #ff3131, #ffd929);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px;
    margin-top: 30px;
    justify-items: center;
}

.service-card {
    background: linear-gradient(90deg, #ff3131, #ffd929);
    color: white;
    padding: 20px;
    border-top-left-radius: 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: flex-start; 
    min-height: 250px;
    max-width: 400px;
}

.content {
    z-index: 1;
    position: relative;
    text-align: left; 
    width: 100%; 
}

.content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.content p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
    max-width: 60%; 
    word-wrap: break-word;
    text-align: left; 
}

.content button {
    background: #ffcb0e;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    border-radius: 20px;
    cursor: pointer;
}
.content button a{
  color: white;
}

.content button:hover {
    background: #f5d142;
}

.photo-frame-1 {
  position: absolute;
  bottom: -40px; 
  right: -40px; 
  width: 220px;
  height: 220px;
  background: url(../assets/FotoVideo/1.jpeg);
  background-size: cover;  
  background-position: center; 
  background-repeat: no-repeat; 
  border-radius: 50%;
  z-index: 0;
}

.photo-frame-2 {
  position: absolute;
  bottom: -40px; 
  right: -40px; 
  width: 220px;
  height: 220px;
  background: url(../assets/FotoVideo/2.jpeg);
  background-size: cover;  
  background-position: center; 
  background-repeat: no-repeat; 
  border-radius: 50%;
  z-index: 0;
}

.photo-frame-3 {
  position: absolute;
  bottom: -40px; 
  right: -40px; 
  width: 220px;
  height: 220px;
  background: url(../assets/FotoVideo/kleine13.png);
  background-size: cover;  
  background-position: center; 
  background-repeat: no-repeat; 
  border-radius: 50%;
  z-index: 0;
}
.photo-frame-4 {
  position: absolute;
  bottom: -40px;
  right: -40px; 
  width: 220px;
  height: 220px;
  background: url(../assets/FotoVideo/4.jpg);
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  border-radius: 50%;
  z-index: 0;
}
.photo-frame-5 {
  position: absolute;
  bottom: -40px; 
  right: -40px; 
  width: 220px;
  height: 220px;
  background: url(../assets/FotoVideo/5.jpg);
  background-size: cover;  
  background-position: center; 
  background-repeat: no-repeat; 
  border-radius: 50%;
  z-index: 0;
}

.photo-frame-6 {
  position: absolute;
  bottom: -40px; 
  right: -40px; 
  width: 220px;
  height: 220px;
  background: url(../assets/FotoVideo/6.jpeg);
  background-size: cover;  
  background-position: center; 
  background-repeat: no-repeat; 
  border-radius: 50%;
  z-index: 0;
}
.weitere-leistungen {
  background: linear-gradient(90deg, #ff3131, #ffd929);
  color: white;
  padding: 30px 20px;
  border-top-left-radius: 60px;
  margin-top: 40px;
  text-align: left;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.weitere-leistungen h3 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.weitere-leistungen p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Gallery  */
.mehrwert-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  background: linear-gradient(to right, #ff3131, #ffd929);
  max-width: auto;
  margin: 0 auto;
}

.mehrwert-content {
  max-width: auto;
  padding: 10px 40px;
}

/* Top Row: Text, Medium Images, Large Image */
.top-row {
  display: flex;
  gap: 20px;
}

/* Left Column: Text + Medium Images */
.left-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Text Content */
.text-content {
  color: white;
}

.text-content h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 20px;
  font-family: Arial, sans-serif;
}

.text-content p {
  font-size: 16px;
  line-height: 1.6;
  font-family: Arial, sans-serif;
  color: #fff;
}

/* Medium Images */
.medium-images {
  display: flex;
  gap: 20px;
}

.medium-image {
  flex: 1;
  aspect-ratio: 1 / 1; /* Ensures square shape */
  overflow: hidden;
}

.medium-image img {
  width: 95%;
  height: 95%;
  object-fit: cover;
}

/* Right Column: Large Image */
.large-image {
  flex: 1;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.large-image img {
  width: 95%;
  height: 95%;
  object-fit: cover;
}

/* Small Images - Full Width */
.small-images {
  display: flex;
  gap: 20px;
}

.small-image {
  flex: 1;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.small-image img {
  width: 95%;
  height: 95%;
  object-fit: cover;
}

.section-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 50px auto;
  padding: 20px;
}

.text-content {
  flex: 1;
  padding-right: 20px;
  max-width: 600px;
}

.text-content h2 {
  color: #2c3e50;
  font-size: 24px;
  margin-bottom: 10px;
}

.text-content h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.text-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

.image-placeholder {
  width: 375px;
  height: 450px;
  background: url(../assets/FotoVideo/7.jpg);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-buttons {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1000; /* Ensures it stays above most elements */
}

.side-button {
  background: #ff3131 ;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
  text-decoration: none;
  margin: 0; 
}

.side-button:hover {
  background-color: #ffd929; 
}

.side-icon {
  width: 20px;
  height: 20px;
  color: white;
}
  /* Footer Section */
.footer {
  background-color: #ffd800;
  font-family: Arial, sans-serif;
  color: #000;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.footer-left {
  line-height: 1.6;
}

.footer-logo {
  width: 250px; 
  margin-bottom: 15px;
}

.footer-left address {
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer-left p {
  font-size: 0.9rem;
}

.footer-left a {
  color: #d12b2b;
  text-decoration: none;
}

.footer-left a:hover {
  text-decoration: underline;
}

/* Center and Right Sections */
.footer-center h4,
.footer-right h4 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-center ul,
.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-center li,
.footer-right li {
  margin-bottom: 8px;
}

.footer-center a,
.footer-right a {
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
}

.footer-center a:hover,
.footer-right a:hover {
  text-decoration: underline;
}

/* Bottom Section */
.footer-bottom {
  background: linear-gradient(to right, #ff3131, #f5d142);
  padding: 10px 0;
}
.footer-bottom p {
  font-size: 16px;
  color: #fff;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.portfolio {
  background: linear-gradient(to right, #ff3131, #f5d142);
  padding: 40px 20px;
  text-align: center;
}

.portfolio-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.portfolio-links {
  margin-bottom: 20px;
}

.portfolio-links a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

.portfolio-links a:hover {
  text-decoration: underline;
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Keep 4 columns */
  grid-gap: 20px; 
  justify-items: center;
  margin: 0 auto;
  max-width: 900px; 
}

.portfolio-item {
  width: 200px; 
  height: 160px; 
  overflow: hidden;
  background: #ddd;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


.dropdown {
  float: left;
  overflow: hidden;
  z-index: 1000;
}

.dropdown .dropbtn {
  cursor: pointer;
  font-size: 16px;  
  border: none;
  outline: none;
  color: black;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1000;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  z-index: 1000;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.show {
  display: block;
}

/*Lesistungen Gallery*/
.leistungen-gallery {
  padding: 20px;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 1200px;
  margin: auto;
}

.item {
  background: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.item img {
  width: 300px;
  height: 300px;
  object-fit: cover;
}

@media (max-width: 768px) {
  /* Responsive Menu */
  .menu {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 60px;
    right: 10px;
    width: 80%;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 9999;
  }

  .menu.active {
    display: flex;
  }

  .toggle {
    display: block;
  }

  /* Text Box Adjustments */
  .text-box h1 {
    font-size: 2rem;
    padding: 0 10px;
    margin-bottom: 10px;
  }

  .button {
    font-size: 14px;
    padding: 8px 15px;
    width: 90%;
  }

  header {
    height: 60vh;
  }

  /* Offer Section */
  .offer-content {
    flex-direction: column;
    text-align: center;
  }

  .offer-content h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    margin-left: 20px;
    text-align: left;
  }

  .offer-button {
    width: 100%;
    margin: 0 auto;
  }

  .mehrwert-content {
    padding: 0;
  }

  /* Counter Section */
  .counters {
    flex-direction: column;
    align-items: center;
  }

  .counter {
    margin-bottom: 20px;
  }

  .counter-section h1 {
    font-size: 1.5rem;
  }

  .number {
    font-size: 2rem;
  }

  p {
    font-size: 1rem;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 15px;
  }
  
  .top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }

  .left-column {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .medium-images {
    display: flex;
    flex: 1 1 100%;
    gap: 20px;
  }

  .medium-image {
    flex: 1 1 33.33%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  .large-image {
    flex: 1 1 33.33%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0; /* remove any margin tricks */
  }

  .medium-image img,
  .large-image img,
  .small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .small-images {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
  }

  .small-image {
    flex: 1 1 calc(25% - 15px);
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }

  /* Footer Section */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

  .footer-left {
    grid-column: span 2;
    text-align: center;
  }

  .footer-center h4,
  .footer-right h4 {
    text-align: center;
  }

  .footer-center ul,
  .footer-right ul {
    text-align: center;
  }

  /* Portfolio Gallery */
  .portfolio-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .button {
    width: 40px;
    height: 40px;
  }

  .icon {
    width: 20px;
    height: 20px;
  }
  .section-container {
    flex-direction: column; 
    align-items: flex-start; 
    padding: 10px;
  }

  .text-content {
    padding-right: 0; 
    margin-bottom: 20px; 
    max-width: 100%; 
  }

  .text-content h2 {
    font-size: 20px; 
    margin-bottom: 8px; 
  }

  .text-content h3 {
    font-size: 16px; 
    margin-bottom: 8px;
  }

  .text-content p {
    font-size: 14px; 
    line-height: 1.4; 
  }

  .image-placeholder {
    width: 100%; 
    height: 100%; 
    background-size: cover; 
    margin-top: 10px; 
  }

  .portfolio {
    padding: 20px 10px; 
    text-align: center;
  }

  .portfolio-title {
    font-size: 1.5rem; 
    margin-bottom: 15px; 
  }

  .portfolio-links {
    margin-bottom: 15px; 
  }

  .portfolio-links a {
    font-size: 14px; 
    margin: 0 5px; 
  }

  .portfolio-gallery {
    grid-template-columns: repeat(1, 1fr); 
    grid-gap: 15px; 
    max-width: 100%; 
    margin: 0 auto; 
  }

  .portfolio-item {
    width: 300px;
    height: 270px; 
  }

  .dropdown {
    float: left;
    overflow: hidden;
    z-index: 1000;
  }

  /* Adjustments for Buttons and Icons */
  .button {
    width: auto;
    height: auto;
    padding: 10px 20px;
  }

  .icon {
    width: auto;
    height: auto;
  }
  .leistungen-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 15px 45px;  
  }
  .item {
    background-size: cover; 
    width: 300px;
    height: auto;
    gap: 10px;
    justify-content: center;
    align-items: center;
  }

}