/* ================================
   Globale Einstellungen
================================ */
:root {
  --size: 300px;
  --bg: #050505;

  --accent1: #ffffff;
  /* coral */
  --accent2: #50FBDC;
  /* mint */
  --accent3: #8E7DFF;
  /* purple */
  --accent4: #ffffff;
  /* yellow */
}

html,
body {
  max-width: 1920px;
  margin: 0 auto;
  background-color: #020202;
  margin-inline: auto;
  padding-inline: 16px;
  width: 100%;
  font-family: Helvetica, sans-serif;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.125;
  color: white;
}

h2 {
  font-size: 3rem;
  color: white;
}

h3 {
  font-size: 2rem;
  color: white;
}

h4 {
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
}

h5 {
  font-size: 1.25rem;
  font-weight: 400;
  color: white;
}

p {
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 200;
  letter-spacing: 1.5;
  color: white;
}

a {
  font-size: 0.8rem;
}

li {
  font-size: 0.9rem;
  font-weight: 200;

}


/* ================================
   Text Animation
================================ */

.logo {
  max-width: 120px;
}

.video-container {
  margin-top: 120px;
  display: flex;
  justify-content: center; /* horizontal */
  align-items: center;     /* vertikal */
}

/* ================================
   Card Animation (Fly-In)
================================ */

@keyframes softFlyIn {
  0% {
    opacity: 0;
    transform: translateY(140px) scale(0.90);
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.fly-in {
  opacity: 0;
  animation: softFlyIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-play-state: paused; /* Start erst, wenn sichtbar */
  will-change: transform, opacity;
  transform-origin: center;
}
.fly-in.visible {
  animation-play-state: running;
}

@keyframes softFlyInRight {
  0% {
    opacity: 0;
    transform: translateX(180px) scale(0.90);
  }
  
  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

.fly-in-right {
  opacity: 0;
  animation: softFlyInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-play-state: paused; /* Start erst, wenn sichtbar */
  will-change: transform, opacity;
  transform-origin: center;
}
.fly-in-right.visible {
  animation-play-state: running;
}

/* ================================
   Button
================================ */

.icon-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.icon-btn:hover {
  transform: scale(1.075);
}

.phone {
  background-color: #50FBDC;
}

.mail {
  background-color: #8E7DFF;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  fill: black;
}

.btn-custom {
  display: flex;
  align-items: center;
  display: inline-flex;
  width: auto;
  justify-content: center;
  padding: 12px 24px !important;
  background: #ffffff;
  color: #000000;
  text-decoration: none;
  border-radius: 30px;
  transition: transform 0.2s ease;
}

.btn-custom:hover {
  transform: scale(1.025);
}

.btn.secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 300;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.btn.secondary:hover {
  transform: scale(1.025);
}

.header-btn {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

/* ================================
   Header / Navigation
================================ */

.logo {
  font-size: 1.5rem;
  padding: 0.5rem;
  font-weight: 400;
}

.video {
  margin-bottom: 200px;
}

.navbar {
  position: sticky;
  top: 20px;
  z-index: 1000;
  width: 100%;
  height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;

  border-radius: 48px;
  color: white;
  box-sizing: border-box;
}

#intro {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s;
  color: #ccc;
}

.nav-links li a.kontakt-link {
  background: #ffffff;
  padding: 12px 24px;
  border-radius: 48px;
  color: #141414;
}

.nav-links li a.kontakt-link:hover {
  background: #50FBDC;
}

.nav-links li a:hover {
  color: #fbfbfb;
}

/* ================================
   Braille
================================ */

.anim-circles {
  justify-content: end;
  padding-top: 70px;
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 4px;
  width: 120px;
  max-height: 20px;
}

.circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgb(255, 255, 255);
  transition: opacity 0.5s ease;
}

.circle.hide {
  opacity: 0;
}

/* ================================
   Header / Bilder
================================ */

.header-pic-b,
.header-pic-s {
  width: 100%;
  height: auto;
  margin-bottom: 8px;
}

/* ================================
   Header / Leistungen
================================ */

.header-content {
  margin-bottom: 2rem;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 16px;
  height: 1px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #333;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ffffff;
  ;
}

.carousel-indicators {
  bottom: -80px;
}

.sustainable {
  width: 100%;
  height: auto;
}

.service-box {
  min-width: 320px;
  margin: 1rem 0 !important;
}

.small-example {
  max-width: 120px;
  margin: 0 auto 1rem;
}

.costum-spacing {
  margin-top: 10rem;
}

/* ================================
   Team Section
================================ */

.team-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 24px;
  background: #1c1c1c;
  opacity: 0.6;
  border-radius: 12px;
}

.team-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.team-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.team-card:hover {
  background: #242424;
}

.team-card img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.team-info {
  padding-left: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.team-info h3 {
  margin: 0;
  font-size: 1.1rem;
  color: white;
}

.team-info p {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: #aaa;
}

/* ================================
   Wie wir Arbeiten!
================================ */

.row.g-4.custom-row {
  gap: 16px;
}

.work {
  display: flex;
  align-items: flex-start;
}

.work-info {
  padding-right: 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.work h3 {
  margin: 0;
  font-size: 1.1rem;
  color: white;
}

.work p {
  margin: 3px 0 0;
  font-size: 0.9rem;
  color: #aaa;
}

/* ================================
   Mission!
================================ */

.card {
  display: flex;
  align-items: flex-start;
  padding: 16px 24px;
  background: #1D1D1D;
  opacity: 0.6;
  border-radius: 12px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  height: 100%;
}


.card p {
  text-align: left;
  width: 80%;
  margin-top: -8px;
  margin-bottom: 42px;
  color: #aaa;
}

.card .dots {
  position: absolute;
  top: 24px;
  right: 24px;
  display: flex;
  gap: 0.3rem;
  grid-area: dots;
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-template-rows: repeat(2, auto);
  gap: 3px;
  justify-content: flex-end;
  align-self: start;
}

.card .dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ffffff;
}


.card .btn-custom {
  align-self: flex-end;
  margin-top: auto;
  border: none;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.card .btn-custom:hover {
  background-color: #50FBDC;
}

.card .dots span.off {
  opacity: 0.0;
}

.card .btn:hover {
  background: #ddd;
}

.container-fluid {
  margin: 0 auto;
  padding-left: 0px !important;
  padding-right: 0px !important;
}

/* ================================
   Leistungen-card
================================ */

.service-card {
  background: #1c1c1c;
  opacity: 0.6;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  min-height: 420px;
  position: relative;
}

.service-card img {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  margin-bottom: 3rem;
  object-fit: cover;
}

.service-card p {
  text-align: left;
  width: 90%;
  margin-top: -4px;
  margin-bottom: 2rem;
  color: #aaa;
}

.service-card .btn-custom {
  position: absolute; 
  bottom: 24px; 
  right: 24px; 
  padding: 0.5rem 1rem;
  background-color: #ffffff;
  color: #000;
  border-radius: 32px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.service-card .btn-custom:hover {
  background: #bbb;
}

/* ================================
   Leistungen-card
================================ */

.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: #1c1c1c;
  padding: 6px 8px;
  border-radius: 8px;
  border: none;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background: #1c1c1c;
  color: #fff;
  text-align: left;
  padding: 1rem 3rem 1rem 1rem;
  /* rechts Platz für Plus/X */
  font-size: 1rem;
  font-weight: 200;
  border: none;
  cursor: pointer;
  position: relative;
}

.accordion-header::after,
.accordion-header::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 14px;
  height: 2px;
  background-color: currentColor;
  transition: transform 0.3s ease;
}

.accordion-header::after {
  transform: translateY(-50%) rotate(0deg);
}

.accordion-header::before {
  transform: translateY(-50%) rotate(90deg);
}

.accordion-item.active .accordion-header::after {
  transform: translateY(-50%) rotate(45deg);
}

.accordion-item.active .accordion-header::before {
  transform: translateY(-50%) rotate(-45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  background: #1c1c1c;
  color: #ccc;
  font-style: italic;
  font-weight: 200;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 200px;
  padding: 1rem;
}

.newsletter h2 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.6rem 1.4rem;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

/* ================================
   Footer
================================ */

.footer-rechts {
  padding-left: 16px;
}

.footer-column h3 {
  font-size: 1rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  margin-left: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}
.footer-bottom .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* alle Spalten gleich hoch */
}

.footer-bottom .col-12 {
  height: 120px;
  display: flex;
  align-items: flex-end; /* Inhalte jeder Spalte unten ausrichten */
}

/* Damit Text und Listen bündig bleiben */
.footer-bottom p,
.footer-bottom ul {
  margin-bottom: 0;
}


.legal-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.legal-links li a {
  color: #aaa;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s;
}

.legal-links li a:hover {
  color: #fff;
}


/* ================================
   Mobil
================================ */

@media (max-width: 768px) {

  h1 {
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.125;
    color: white;
  }

  h2 {
    font-size: 2.75rem;
    color: white;
  }

  h3 {
    font-size: 2rem;
    color: white;
  }

  h4 {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
  }

  p {
    font-size: 0.9rem;
    font-weight: 200;
    letter-spacing: 1.5;
    color: white;
  }

  .container-fluid {
    margin: 0 auto;
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  .anim-circles {
    display: none;
  }


  .navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    width: 100%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #141414;
    margin: 0.5rem auto 0;
    padding-inline: 1.5rem;
    border-radius: 48px;
    color: white;
    box-sizing: border-box;
  }

  .nav-links {
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: calc(40px + 40px);
    left: 0;
    right: 0;
    padding: 0;
    gap: 6px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-links li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 20px;
    color: white;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 300;
    text-decoration: none;
    transition: background 0.3s;
    opacity: 0;
    transform: translateY(-10px);
  }

  .nav-links li a:hover {
    background: #3b3b3b;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    display: flex;
    background: #141414;
    border-radius: 32px;
  }

  .navbar .kontakt-link {
    background-color: aqua;
    max-width: 82%;
    padding: 8px 16px;
    margin-bottom: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  #toggleBtn {
    background: rgb(80, 251, 220);
    max-width: 82%;
    border: none;
    font-size: 13px;
    border-radius: 24px;
    color: #141414;
  }

  .nav-links.active li a {
    animation: fadeSlideIn 0.4s ease forwards;
  }

  .nav-links.active li:nth-child(1) a {
    animation-delay: 0.1s;
  }

  .nav-links.active li:nth-child(2) a {
    animation-delay: 0.2s;
  }

  .nav-links.active li:nth-child(3) a {
    animation-delay: 0.3s;
  }

  .nav-links.active li:nth-child(4) a {
    animation-delay: 0.4s;
  }

  @keyframes fadeSlideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu-toggle {
    width: 30px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
  }

  .menu-toggle span {
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    display: block;
    transition: all 0.4s ease;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) translateX(8px);
  }

  .menu-toggle.active span:nth-child(2) {
    transform: scale(0);
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) translateX(-8px);
  }

  .footer-bottom .row {
  display: flex;
  flex-wrap: wrap;
}

  .footer-bottom .col-12 {
  margin-top: -64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

}