h1 {
  margin: 0;
}
p {
  margin: 0;
  margin-bottom: 32px;
  margin-top: 8px;
}
h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  color: chocolate;
  font-family: ArchivoBlack-Regular;
  font-size: 24px;
}
h3 {
  font-family: "DroidSans", sans-serif;
}
.hero a {
  text-decoration: none;
  cursor: pointer;
  margin-left: 0;
}

.hero {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  padding: 64px 16px;
  padding-right: 32px;
  padding-top: 0px;
}
.service-card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.legal a {
  color: black;
}
.legal a:hover {
  color: black;
  text-decoration: none;
}

.feedback-wrapper {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border: 1px solid red;
}

.feedback {
  width: 100%;
  height: 100%;
  margin-top: 32px;
}
.projekt img {
  width: 100%;

  object-fit: cover;
  object-position: center;
  display: block;
}

.cta-section {
  padding: 100px 20px;
  padding-bottom: 30vh;
  background: #f9f9f9;

  text-align: center;
}

/* Inhalt */
.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Überschrift */
.cta-section h2 {
  font-family: "ArchivoBlack-Regular", sans-serif;
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: chocolate;
}

/* Button */
.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: chocolate;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}
.cta-button:hover {
  background: black;
  color: white;
  transform: translateY(-3px);
}
.text {
  margin-top: 0;
  padding-top: 32px;
}
@media (max-width: 768px) {
  /* =========================
     GLOBAL MOBILE SPACING
  ========================= */
  body {
    overflow-x: hidden;
  }

  h1,
  h2,
  h3,
  p {
    text-align: center;
  }

  p {
    padding: 0 10px;
  }

  /* =========================
     HERO SECTION
  ========================= */
  .hero {
    padding: 24px 16px;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .hero p {
    font-size: 1rem;
    max-width: 90%;
    margin: 0 auto 20px auto;
  }

  .hero a {
    margin: 0 auto;
  }

  /* =========================
     SERVICES (GRID → STACK)
  ========================= */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 16px;
  }

  .service-card {
    padding: 20px;
    border-radius: 12px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
    margin-bottom: 0;
  }

  /* =========================
     CTA SECTION
  ========================= */
  .cta-section {
    padding: 60px 16px;
    padding-bottom: 80px;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .cta-button {
    padding: 14px 28px;
    font-size: 14px;
  }

  /* =========================
     FEEDBACK / CASE STUDIES (MOBILE FIX)
  ========================= */
  .feedback {
    width: 100%;
    margin-top: 20px;
  }

  .feedback-wrapper {
    /* Wichtig: Relativ setzen, damit die Pfeile absolut darin positioniert werden können */
    position: relative;
    display: block;
    width: 100%;
  }

  .feedback-viewport {
    overflow: hidden; /* Verhindert horizontales Scrollen außerhalb des Sliders */
    width: 100%;
  }

  .feedback-track {
    display: flex;
    /* Falls im JS oder feedback.css noch nicht gesetzt: */
    transition: transform 0.3s ease-in-out;
  }

  .feedback-box {
    /* Zwingt jede Box, exakt 100% des sichtbaren Bereichs einzunehmen */
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 16px; /* Etwas Abstand zum Bildschirmrand */
    box-sizing: border-box; /* Verhindert, dass Padding die Box breiter als 100% macht */
  }

  .projekt img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* (Optional) Sieht auf Mobile oft hochwertiger aus */
  }

  /* Pfeile über das Bild legen, um Platz zu sparen */
  .feedback-arrow {
    position: absolute;
    top: 40%; /* Ungefähr auf Höhe des Bildes zentrieren, anpassen je nach Bildformat */
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    z-index: 10;
    background: rgba(
      255,
      255,
      255,
      0.8
    ); /* Leichter Hintergrund, damit Pfeile auf Bildern lesbar bleiben */
    border: none;
    border-radius: 50%; /* Macht die Buttons rund */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }

  .feedback-arrow.left {
    left: 10px;
  }

  .feedback-arrow.right {
    right: 10px;
  }
}
