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

html {
  scroll-behavior: smooth;
}

body {
  color: #222;
  line-height: 1.6;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.topbar img {
  height: 200px;
}

section {
  padding: 80px 8%;
}

.hero {
  height: 90vh;
  background:
    linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
    url("images/landing.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  margin-bottom: 30px;
}

.btn {
  background: #000000;
  color: #fff;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: #222;
  transform: scale(1.05);
}

.features,
.packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.feature,
.package {
  background: #f7f7f7;
  padding: 30px;
  border-radius: 15px;
}

.package.highlight {
  background: #000000;
  color: #fff;
}

.steps {
  background: #fafafa;
  text-align: center;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.step span {
  display: inline-block;
  background: #000000;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  line-height: 40px;
  margin-bottom: 15px;
}

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

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.contact {
  background: #fafafa;
  text-align: center;
}

.contact form {
  max-width: 500px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact select,
.contact textarea {
  padding: 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
}

footer {
  padding: 30px;
  text-align: center;
  background: #111;
  color: #fff;
}

@media (max-width: 1024px) {

  section {
    padding: 70px 6%;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .topbar {
    height: 90px;
  }

  .topbar img {
    height: 160px;
  }
}

/* Mobile Anpassungen */
@media (max-width: 768px) {

  section {
    padding: 60px 5%;
  }

  .topbar {
    height: 80px;
  }

  .topbar img {
    height: 120px;
  }

  .hero {
    height: 85vh;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 28px;
  }

  .features,
  .packages {
    grid-template-columns: 1fr;
  }

  .step-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 180px;
  }
}

/* Sehr kleine Smartphones */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .topbar {
    height: 70px;
  }

  .topbar img {
    height: 100px;
  }

  .gallery-grid img {
    height: 160px;
  }
}

/* Carousel Styles */
.carousel-wrapper {
  position: relative;
}

.carousel {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.carousel img {
  flex: 0 0 calc(33.333% - 10px);
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.carousel img:hover {
  transform: scale(1.05);
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.carousel-btn.prev {
  left: -20px;
}

.carousel-btn.next {
  right: -20px;
}

/* Tablet */
@media (max-width: 1024px) {
  .carousel img {
    flex: 0 0 calc(50% - 10px);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .carousel img {
    flex: 0 0 100%;
  }
  .carousel-btn {
    display: none;
  }
}

