/* ===============================
   Basis-Setup: Schriftarten, Farben
   =============================== */
:root {
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --color-accent: #ec671b;
  --color-secondary: #5f2263;
  --color-dark: #1c1c1c;
  --color-light: #f2f2f2;
  --color-white: #ffffff;
}

/* =============
   Global Defaults
   ============= */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  background-color: var(--color-dark);
  color: var(--color-white);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-white);
  margin-top: 0;
}

p, span, li, a, label, input, textarea {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-white);
}

/* Headings in hellen Sektionen */
section.bg-light h1,
section.bg-light h2,
section.bg-light h3,
section.bg-light h4,
section.bg-light h5,
section.bg-light h6,
section.bg-light p {
  color: var(--color-dark);
}

.section-underline {
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
  margin: 1rem auto 2rem;
}










/* =====================
   Navbar – Base Styles
   ===================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(28, 28, 28, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.75rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative; /* notwendig für absolute Menüzentrierung */
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--color-white);
  z-index: 10;
}

.nav-toggle {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--color-white);
  display: none;
  cursor: pointer;
  z-index: 20;
}

/* =====================
   Desktop – ab 992px
   ===================== */
@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .nav-collapse {
    display: flex !important;
    align-items: center;
    flex: 1;
  }

  .nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-social {
    display: flex;
    gap: 1rem;
    margin-left: auto;
  }
}

/* =====================
   Mobile – unter 992px
   ===================== */
@media (max-width: 991px) {
  .nav-toggle {
    display: block;
  }

  .nav-collapse {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1.5rem;
    padding-top: 1rem;
  }

  .nav-collapse.show {
    display: flex;
    animation: fadeInMenu 0.3s ease-in-out;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0; /* wird durch padding ersetzt */
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  .nav-menu li {
    padding: 1rem 0; /* doppelt so viel Abstand wie vorher */
  }

  .nav-menu li a {
    text-decoration: none;
    color: var(--color-white);
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .nav-social {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(255, 255, 255);
  }

  .nav-social a {
    color: var(--color-white);
    font-size: 1.25rem;
    transition: color 0.3s ease;
  }

  .nav-social a:hover,
  .nav-menu li a:hover {
    color: var(--color-accent);
  }
}

/* =====================
   Link Styles
   ===================== */
.nav-menu li a {
  text-decoration: none;
  color: var(--color-white);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu li a:hover,
.nav-social a:hover {
  color: var(--color-accent);
}

.nav-social a {
  color: var(--color-white);
  font-size: 1.25rem;
  transition: color 0.3s ease;
}

/* =====================
   Burger Menü Animation
   ===================== */
.nav-icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  position: relative;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--color-white);
  left: 0;
  transition: all 0.3s ease;
}

.nav-icon span:nth-child(1) {
  top: 0;
}

.nav-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.nav-icon span:nth-child(3) {
  bottom: 0;
}

.nav-toggle.active .nav-icon span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.nav-toggle.active .nav-icon span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .nav-icon span:nth-child(3) {
  transform: rotate(-45deg);
  bottom: auto;
  top: 50%;
}

/* =====================
   Fade-In Animation
   ===================== */
@keyframes fadeInMenu {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}










/* ==================
   Hero Section
   ================== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, var(--color-accent), var(--color-secondary), var(--color-accent), var(--color-secondary));
  background-size: 400% 400%;
  animation: gradientMove 45s linear infinite;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 4rem; /* Basisgröße bleibt bestehen */
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-content h1 span {
  display: block;
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.clean-cta-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 30px;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.clean-cta-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

@media (min-width: 992px) {
  .hero-content h1 {
    font-size: 5rem; /* Nur Desktop größer */
  }

  .hero-content p {
    font-size: 1.5rem;
  }
}

@keyframes gradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}










/* ==================
   Intro Section
   ================== */
#intro {
  padding: 10rem 2rem 5rem;
  background-color: var(--color-dark);
  text-align: center;
}

#intro h2 {
  font-family: var(--font-heading); /* Roboto */
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

#intro p {
  font-family: var(--font-body); /* Poppins */
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto;
}

#intro .section-underline {
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
  margin: 1rem auto 2rem;
}

.intro-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem 1rem; /* mehr vertikaler Abstand, horizontal kompakter */
  margin-top: 3rem;
}

.intro-box {
  max-width: 300px;
  padding: 1rem;
}

.intro-box i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.intro-box h4 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--color-white);
}

.intro-box p {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-white);
  line-height: 1.6;
}

@media (min-width: 992px) {
  .intro-box:nth-child(2) {
    margin: 0 5rem;
  }
}











/* ==================
   Service Section – Glassmorphism + Bubbles
   ================== */
#services {
  padding: 5rem 2rem;
  background-color: var(--color-dark);
  text-align: center;
}

.services-title {
  font-size: 2.5rem;
  color: var(--color-white);
}

.services-intro {
  max-width: 700px;
  margin: 1rem auto 4rem;
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  color: var(--color-white);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 0 25px var(--color-accent);
}

.service-card i {
  font-size: 2.2rem;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-card {
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  color: var(--color-white);
  font-weight: bold;
  box-shadow: 0 0 30px rgba(236, 103, 27, 0.3);
  text-decoration: none !important;
  cursor: pointer;
}

.cta-card:hover {
  box-shadow: 0 0 35px rgba(236, 103, 27, 0.5);
  transform: scale(1.03);
}









.about-section,
.about-section p,
.about-section h2,
.about-section h3,
.about-section a {
  color: var(--color-dark);
}

.about-section {
  background-color: var(--color-light);
  padding: 5rem 2rem;
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.about-section .section-underline {
  background-color: var(--color-accent);
  margin-bottom: 3rem;
}

.about-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 4rem;
}

.about-text {
  max-width: 800px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text .inline-cta {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.about-text .inline-cta:hover {
  color: var(--color-secondary);
}

.about-images {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.about-image-wrapper {
  width: 240px;
  height: 300px;
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.about-image-wrapper:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

@media (min-width: 992px) {
  .about-content {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-text {
    flex: 1.5;
  }

  .about-images {
    flex: 1;
    flex-direction: column;
    gap: 2rem;
  }

  .about-image-wrapper {
    width: 100%;
    height: 300px;
  }
}










/* ===============================
   Kunden / Referenzen Sektion
   =============================== */

.clients-section {
  background-color: var(--color-light); /* Weißer Bereich */
  color: var(--color-dark);
  padding: 5rem 2rem;
  text-align: center;
}

.clients-title {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-dark);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Feste 3 Spalten */
  gap: 2rem;
  margin-top: 4rem;
  perspective: 1000px;
}

@media (max-width: 768px) {
  .client-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .client-grid {
    grid-template-columns: 1fr;
  }
}

.client-card {
  width: 100%;
  height: 280px;
  position: relative;
  cursor: pointer;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.client-card:hover .card-inner,
.client-card.flip .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Vorderseite – Logo */
.card-front {
  background: #ffffff;
  border: 1px solid #e0e0e0;
}

.card-front img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: grayscale(50%);
  transition: filter 0.3s ease;
}

.card-front:hover img {
  filter: grayscale(0%);
}

/* Rückseite – Zitat */
.card-back {
  background-color: var(--color-accent); /* Orange Rückseite */
  transform: rotateY(180deg);
  color: var(--color-dark); /* Dunkler Text */
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  padding: 2rem;
  border: 1px solid #d35400;
  box-shadow: 0 0 20px rgba(236, 103, 27, 0.15);
}










/* ===============================
   Kontakt-Sektion – Weißer Hintergrund
   =============================== */

.contact-section {
  background-color: var(--color-light); /* Weißer Bereich */
  color: var(--color-dark);             /* Text: #1c1c1c */
  padding: 5rem 2rem;
  text-align: center;
}

.contact-title {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-dark);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  justify-content: space-between;
  margin-top: 4rem;
  text-align: left;
}

.contact-info {
  flex: 1 1 40%;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.6;
}

.contact-info a {
  color: var(--color-accent); /* Orange */
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-social {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
  margin-top: 1rem;
}

.contact-social a {
  color: var(--color-dark);
  transition: color 0.3s ease;
}

.contact-social a:hover {
  color: var(--color-accent);
}

.contact-form {
  flex: 1 1 55%;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-dark);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  resize: vertical;
  color: var(--color-dark);
  background-color: #ffffff;
}

.contact-btn {
  align-self: flex-start;
  background-color: var(--color-accent);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: var(--color-secondary); /* Lila */
}

@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    text-align: left;
  }

  .contact-info,
  .contact-form {
    flex: 1 1 100%;
  }
}

.contact-section,
.contact-section p,
.contact-section a,
.contact-section label,
.contact-section input,
.contact-section textarea {
  color: var(--color-dark);
}

.contact-section h3 {
    color: var(--color-dark);
}









/* ===============================
   Animierte Wellen vor dem Footer
   =============================== */

.wave-container {
  position: relative;
  width: 100%;
  height: 180px; /* passt zu stärkeren Wellen */
  background: #f2f2f2;
  overflow: hidden;
  line-height: 0;
  z-index: 0;
}

.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%; /* doppelt so breit für Loop */
  height: 100%;
  animation: waveLoop 20s linear infinite;
  fill: #1c1c1c;
  transform: translateX(0);
}

/* Vorderste Welle */
.wave1 {
  opacity: 1;
  animation-duration: 18s;
  z-index: 3;
}

/* Mittelwelle */
.wave2 {
  opacity: 0.5;
  animation-duration: 26s;
  animation-delay: -6s;
  z-index: 2;
}

/* Hinterste Welle */
.wave3 {
  opacity: 0.3;
  animation-duration: 36s;
  animation-delay: -12s;
  z-index: 1;
}

@keyframes waveLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* Footer-Grundstruktur */
.site-footer {
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 6rem 2rem 3rem;
  font-size: 1rem;
  position: relative;
  overflow: visible;
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-accent);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-col h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.footer-social {
  display: flex;
  gap: 1rem;
  font-size: 1.5rem;
}

.footer-social a {
  transition: color 0.3s ease;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-bottom a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 400;
}

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}











.impressum-section {
  background-color: #ffffff;
  color: #1c1c1c;
  padding: 3rem 2rem;
}

.impressum-section h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #1c1c1c;
  text-align: center;
  margin-bottom: 1rem;
}

.impressum-section .section-underline {
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
  margin: 0 auto 3rem;
}

.impressum-section p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #1c1c1c;
}

.impressum-section a {
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
}

.impressum-section .back-link {
  display: inline-block;
  margin-top: 3rem;
  font-weight: 600;
  text-decoration: underline;
}










/* ================================
   Datenschutz-Sektion (eigenständig)
   ================================ */
#datenschutz {
  background-color: #ffffff;
  color: #1c1c1c;
  padding: 3rem 2rem;
}

#datenschutz h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: #1c1c1c;
  text-align: center;
  margin-bottom: 1rem;
}

#datenschutz .section-underline {
  width: 60px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 2px;
  margin: 0 auto 3rem;
}

#datenschutz ul {
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  list-style-position: outside;
}

#datenschutz li {
  margin-bottom: 0.75rem; /* enger als 1.5rem */
  color: #1c1c1c;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
}

#datenschutz a {
  color: var(--color-secondary);
  text-decoration: underline;
  font-weight: 500;
}

#datenschutz .back-link {
  display: inline-block;
  margin-top: 3rem;
  font-weight: 600;
  text-decoration: underline;
}
