/* ---------- RESET ---------- */
*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

html {
  scroll-behavior: smooth;
}


:root{
  --yellow:#d5e099;
  --black:#000;
  --ease:cubic-bezier(.25,.8,.25,1);
  --transition-speed: 0.3s;
  --hover: #363c2d;
}

img{
  -webkit-user-drag:none;
  user-drag:none;          /* Firefox */
  user-select:none;        /* verhindert “Text-ziehen” */
}

body{
    font-family: 'AllianceNo2-Regular', sans-serif;
  background:#fff;            /* fallback under hero */
  color:#000;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'AllianceNo2-Light', sans-serif;
    font-weight: 500;
    margin-bottom: 1rem;
  }


/* Generic arrow animation for any .btn */
.btn .arrow {
    display: inline-block;
    margin-left: 0.5rem;            /* adjust spacing */
    transform: translateX(0);       /* start position */
    transition: transform var(--transition-speed) var(--ease);
    color: currentColor;            /* inherit text color */
  }
  
  .btn:hover .arrow {
    transform: translateX(6px);     /* slide right on hover */
  }


/* Base button */
.btn {
  position: relative;
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border-radius: 15px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  z-index: 0;

  border: 2px solid var(--yellow);
  background: transparent;
  color: var(--yellow);

  transition:
    transform var(--transition-speed) var(--ease),
    box-shadow var(--transition-speed) var(--ease),
    color var(--transition-speed) var(--ease),
    background var(--transition-speed) var(--ease),
    border-color var(--transition-speed) var(--ease);
}

/* Ripple pseudo-element */
.btn::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition:
    width var(--transition-speed) var(--ease),
    height var(--transition-speed) var(--ease),
    transform var(--transition-speed) var(--ease);
  z-index: -1;
}

/* Hover: expand ripple & lift */
.btn:hover::before {
  width: 300%;
  height: 300%;
  transform: translate(-50%, -50%) scale(1);
}
.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Solid variant */
.btn.solid {
  background: var(--yellow);
  color: var(--black);
}
.btn.solid:hover {
  background: var(--hover);
  color: var(--yellow);
  /* border stays yellow or you can switch it too if you like */
}

/* Outline variant */
.btn.outline {
  background: transparent;
  color: var(--yellow);
}
.btn.outline:hover {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}


i a {
  text-decoration: none !important;
}


  
  

  p {
    letter-spacing: 0.02em;
  }




/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  left: 0;
  right: 0;
  height: 124px;
  background: rgba(206, 216, 148, 0.95);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center; /* center nav-inner on desktop */
  z-index: 2000;
  transition: transform 0.45s var(--ease), opacity 0.45s;
  animation: fadeSlideDown 0.6s var(--ease) forwards;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar.hide {
  transform: translateY(-140%);
  opacity: 0.4;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 8rem;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  font-size: 1.125rem;
  filter:
  brightness(0.95)
  contrast(1.1)
  drop-shadow(0 0 0.5px rgba(47, 52, 40, 1));
-webkit-filter:
  brightness(0.95)
  contrast(1.1)
  drop-shadow(0 0 0.5px rgba(47, 52, 40, 1));

transition: filter 0.35s ease;
-webkit-transition: -webkit-filter 0.35s ease;

}

.logo-img {
  height: 210px;
  width: auto;
  display: block;
  transition: height 0.35s ease;
}

/* Desktop nav menu */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  opacity: 0;
  animation: fadeInUp 0.6s forwards;
}

.nav-item:nth-child(1) { animation-delay: 0.2s; }
.nav-item:nth-child(2) { animation-delay: 0.3s; }
.nav-item:nth-child(3) { animation-delay: 0.4s; }
.nav-item:nth-child(4) { animation-delay: 0.5s; }

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

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  transition: color 0.25s;
  white-space: nowrap;
  font-size: 1rem;
}

.nav-link:hover {
  color: #000;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.contact::after {
  display: none;
}

.nav-link.contact {
  padding: 0.55rem 1.6rem;
  border: 2px solid var(--black);
  border-radius: 15px;
  transition: all 0.25s var(--ease);
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-link.contact:hover {
  background-color: var(--black) !important;  /* ensure solid black */
  color: var(--yellow) !important;            /* yellow text */
  border: 2px solid var(--black) !important;  /* enforce black border */
  transform: translateY(-2px);
}


.navbar .btn.contact .arrow {
  display: inline-block;
  margin-left: 0.5rem;
  transition: transform 0.35s var(--ease);
}

.navbar .btn.contact:hover .arrow {
  transform: translateX(6px);
}

/* ========== Burger Button ========== */
.burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem;
  z-index: 2100;
}

.burger span {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--black);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  border-radius: 20px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ========== Fullscreen Circular Menu ========== */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(213, 224, 153, 0.95);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1500;

  clip-path: circle(0% at 100% 0%);
  transition: clip-path 0.6s ease-in-out, opacity 0.6s ease-in-out;
  pointer-events: none;
  opacity: 0;
}

.fullscreen-menu.open {
  clip-path: circle(150% at 100% 0%);
  opacity: 1;
  pointer-events: auto;
}

.fullscreen-menu .nav-menu {
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.fullscreen-menu .nav-link {
  font-size: 1.5rem;
  color: var(--black);
}

.fullscreen-menu .nav-link.contact {
  align-self: center;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .desktop-nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .logo-img {
    height: 120px;
    width: auto;
    transition: height 0.35s ease;
  }

  .navbar {
    justify-content: space-between;
    padding: 0 1.25rem;
    height: 100px;
    transition:
    height 0.35s ease,
    padding 0.35s ease,
    transform 0.45s var(--ease),
    opacity 0.45s;
  
  }

  .nav-inner {
    flex: 1;
    justify-content: flex-start;
  }
}


.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--black);
  font-weight: 600;
  transition: color 0.25s;
}


.nav-link.phone i {
  color: var(--black);       /* always black */
  transition: transform 0.3s ease, color 0.3s ease;
}


/* Shrinked navbar when scrolling down */
.navbar.shrink {
  height: 82px;
  padding: 0 1.25rem;
  transition: height 0.35s ease, padding 0.35s ease;
}

.navbar.shrink .logo-img {
  height: 110px;
  transition:
  height 0.35s ease,
  padding 0.35s ease,
  transform 0.45s var(--ease),
  opacity 0.45s;
}

/* Keep underline animation like other nav links */
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}

.chevron-nav {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.95rem;
}

.has-dropdown.open .chevron-nav {
  transform: rotate(180deg);
}

/* Clean rectangle with border between items */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #d5e099;
  overflow: hidden;
  min-width: 180px;
  padding: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
}

.has-dropdown.open .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Only applies to Einsatzgebiete */
.dropdown-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  max-height: 400px;
  overflow-y: auto;
  max-width: 380px;
  padding: 0.5rem;
  column-gap: 1rem;
  row-gap: 0.3rem;
  list-style: none;
  padding: 0;            
  margin: 0; 
  scrollbar-gutter: stable;  
}

.dropdown-columns li {
  list-style: none;
}


/* Optional: make each link full width inside its column */
.dropdown-columns .dropdown-link {
  width: 100%;
  white-space: nowrap;
}


/* Dropdown links styled with dividers */
.dropdown-link {
  display: block;
  padding: 0.65rem 1rem;
  color: #000;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease;
  border-bottom: 1px solid #d5e099;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
  margin-left : 3px;
  margin-right: 3px;
}

.dropdown-link:last-child {
  border-bottom: none;
}

.dropdown-link:hover {
  background-color: var(--yellow);
  color: #000;
}

/* Fix for fullscreen burger menu layout */
.fullscreen-menu .dropdown {
  position: static;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: none;
  padding: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.fullscreen-menu .has-dropdown.open .dropdown {
  opacity: 1;
  max-height: 300px;
  padding: 0.5rem 0;
}

.fullscreen-menu .dropdown-link {
  font-size: 1.2rem;
}

.fullscreen-menu .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 1.5rem;
  white-space: nowrap;
  position: relative;
  line-height: 1.2; /* wichtig für vertikale Mitte */
}

.fullscreen-menu .chevron-nav {
  font-size: 1.2rem;              /* angleichen an Texthöhe */
  line-height: 1;
  transform: translateY(1px);     /* optional für Feintuning */
}

@media (max-width: 900px) {
  .fullscreen-menu .dropdown {
    opacity: 1 !important;
  }

  .fullscreen-menu .has-dropdown.open .dropdown {
    opacity: 1 !important;
  }
}

.fullscreen-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.fullscreen-logo img {
  height: 300px;
  max-width: auto;
  margin-bottom: -10px;
  margin-top: 2rem;
  object-fit: contain;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.7));
}

.fullscreen-footer {
  margin-top: 3rem;
  text-align: center;
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

.social-icons a:hover {
  color: #363c2d;
}

.fullscreen-footer hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.2);
  margin: 1rem auto;
  width: 50%;
}

.email {
  font-size: 1rem;
  color: var(--black);
}


/* Handle smaller height screens */
@media (max-height: 900px) {
  .fullscreen-inner {
    padding-top: 1rem;
    padding-bottom: 1rem;
    overflow-y: auto;
  }

  .fullscreen-logo img {
    height: 150px;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .fullscreen-menu .nav-link,
  .fullscreen-menu .dropdown-link {
    font-size: 1.2rem;
  }

  .fullscreen-footer {
    margin-top: 1.5rem;
  }

  .email {
    font-size: 0.85rem;
  }

  .social-icons {
    font-size: 1.2rem;
    gap: 1rem;
  }
}

/* Optional: Make sure it's scrollable if it still overflows */
.fullscreen-inner {
  max-height: 100vh;
  overflow-y: auto;
  scrollbar-gutter: stable;
}



/* =========================================================
   HERO SECTION
========================================================= */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  margin-top: 0;
  padding-top: 0;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.2s ease;
  pointer-events: none;
  z-index: 0;
}
.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.55), rgba(0,0,0,0.2));
}

.hero-content {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 2rem;
  max-width: 700px;
  text-align: center;
  color: #fff;
  animation: fadeZoomIn 0.6s ease-out both;
  margin-top: 124px;
}

@keyframes fadeZoomIn {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
  color: #eee;
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Indicators */
.indicators {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator.active {
  background: var(--yellow);
  border-color: var(--yellow);
  box-shadow: 0 0 8px var(--yellow);
  transform: scale(1.2);
}



/* New */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
  transition: background 0.3s ease;
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
}
.hero-arrow.prev { left: 1rem; }
.hero-arrow.next { right: 1rem; }


@media (max-width: 900px) {
  .hero-arrow {
    top: 95%;
  }
}

/* =========================================================
   ABOUT US SECTION
========================================================= */
.about-pro {
  padding: clamp(4rem, 8vw, 7rem) 1rem;
  background-color: #f8f9f9;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
}

.about-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text .subtitle {
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.about-text .headline {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
  color: #333;
}

.about-text .btn {
  margin-top: 2rem;
  padding: 0.85rem 2.4rem;
  font-weight: 700;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all 0.3s ease;
}

.about-text .btn:hover {
  background: #363c2d;
  color: var(--yellow);
}

.about-features ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-features li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1.05rem;
  color: #222;
}

.about-features li i {
  font-size: 1.2rem;
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }
}
  
  
  /* ---------- LOGO + HIGHLIGHT ROW -------------------------------------- */
  .about-highlight{
    display:flex;
    gap:2rem;
    align-items:center;
    margin:3.5rem 0 2rem;
  }
  .about-logo{
    width:120px;
    height:auto;
  }
  .about-highlight h3{
    font-size:1.35rem;
    line-height:1.45;
    color: black;
  }
  
  /* ---------- FACT GRID ------------------------------------------------- */
  .about-facts{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:2rem;
  }
  .fact{
    display:flex;
    flex-direction:column;
    gap:.8rem;
    color: black;
  }
  .fact i{
    font-size:1.5rem;
  }
  .fact h4{
    margin:0;
    font-size:1rem;
  }
  .fact p{
    margin:0;
    font-size:.9rem;
  }
  
  /* ---------- RESPONSIVE ------------------------------------------------- */
  @media(max-width:900px){
    .about-card{grid-template-columns:1fr;}
    .about-list{order:-1;}          /* yellow half first on small screens */
  }
  


/* =========================================================
   SERVICES SECTION
========================================================= */
.services {
    max-width: 1540px;
    margin: 0 auto;
    padding: 4rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
  }
  
  .service {
    display: flex;
    align-items: stretch;          /* children fill height */
    min-height: 600px;             /* taller cards */
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  
  /* Alternate layout: odd = image left / text right */
  .service:nth-child(odd) {
    flex-direction: row-reverse;
  }
  
  /* Each half = 50% */
  .service-image,
  .service-text {
    flex: 0 0 50%;
  }
  
  /* IMAGE */
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s var(--ease);
  }
  .service-image img:hover {
    transform: scale(1.05);
  }
  
  /* TEXT */
  .service-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .service-text h2 {
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--black);
  }
  .service-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #444;
  }
  .btn-service.outline-service {
    align-self: start;
    padding: .75rem 1.75rem;

  }

  .services .btn {
    /* bigger text */
    font-size: 0.9rem;
    /* more generous padding */
    padding: 1rem 3rem;
    /* keep your existing radius & border */
    border-radius: 15px;
    transition:
      transform var(--transition-speed) var(--ease),
      box-shadow var(--transition-speed) var(--ease);
  }
  

  
  @media (max-width: 900px) {
    .service {
      display: flex;                   /* ensure flexbox */
      flex-direction: column !important; /* override any row/row-reverse */
      gap: 1.5rem;                     /* space between text & image */
      min-height: auto;                /* remove fixed height */
    }
    /* Specifically override the odd rule too */
    .service:nth-child(odd) {
      flex-direction: column !important;
    }
  
    /* Text block first */
    .service-text {
      order: 1;
      padding: 1.5rem;
      text-align: center;
    }
  
    /* Image below, full width */
    .service-image {
      order: 2;
      width: 100%;
    }
    .service-image img {
      width: 100%;
      height: auto;
      display: block;
    }
  
    /* Center that “Mehr erfahren” button */
    .service-text .btn-service.outline-service {
      align-self: center;
    }
  }
  
  
  



/* =========================================================
   DIGITAL FORGE SECTION
========================================================= */
.digital-forge{
    padding:clamp(4rem,8vw,8rem) 1rem;
  }
  
  .df-container{
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4rem;
    align-items:flex-start;
  }
  
  @media(max-width:900px){
    .df-container{grid-template-columns:1fr;}
    .df-right{order:-1;}           /* image card first on mobile */
  }
  
  /* ---------- left side ---------- */
  .df-title{
    font-size:clamp(2rem,4vw,2.8rem);
    font-weight:800;
    margin-bottom:1.5rem;
  }
  
  .df-lead{
    max-width:32ch;
    font-size:1.05rem;
    line-height:1.55;
    margin-bottom:2rem;
    color:#333;
  }
  
  .df-cta{
    margin-bottom:2.5rem;
  }
  
  /* accordion */
  .df-accordion{border-top:1px solid #d5e099;}
  .acc-item{border-bottom:1px solid #d5e099;}
  .acc-header{
    width:100%;background:none;border:none;
    padding:1rem 0;
    display:flex;justify-content:space-between;align-items:center;
    font:inherit;font-size:1.15rem;color:#333;cursor:pointer;
  }
  .chevron{
    width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;
    border-top:6px solid var(--yellow);transition:transform .35s var(--ease);
  }
  .acc-item.open .chevron{transform:rotate(180deg);}
  .acc-body{
    max-height:0;overflow:hidden;
    font-size:.95rem;line-height:1.5;
    color:#aaa;padding-right:1rem;
    transition:max-height .4s var(--ease),padding .4s var(--ease);
  }
  .acc-item.open .acc-body{padding:0 0 1rem;max-height:300px;}
  
  /* ---------- right side ---------- */
  .df-card{
    position:relative;
    background:#fff;
    border-radius:15px;
    padding:3rem 3rem 2.5rem;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    min-height:560px; 
}
  .df-card::before{                       /* yellow accent stripe */
    content:"";
    position:absolute;left:0;top:0;bottom:0;width:12px;
    background:var(--yellow);
    border-radius:15px 0 0 15px;
  }
  
  .df-tabs{
    display:flex;gap:1rem;margin-bottom:2rem;justify-content:center;
    flex-wrap:wrap;
  }
  .df-tab{
    background:transparent;color:#000;
    border:2px solid #000;border-radius:15px;
    font-weight:600;padding:.55rem 1.9rem;
    display:flex;align-items:center;gap:.5rem;
    cursor:pointer;transition:background .25s,color .25s,border .25s;
  }
  .df-tab .dot{
    width:8px;height:8px;border-radius:50%;background:var(--yellow);display:none;
  }
  .df-tab.active{
    background:#000;color:#fff;border-color:#000;
  }
  .df-tab.active .dot{display:inline-block;}
  
  .df-panel{display:none;}
  .df-panel.active{display:block;}
  
  .df-panel h3{
    font-size:1.6rem;font-weight:700;line-height:1.25;margin-bottom:1rem;color:#000;
  }
  .df-panel p{
    font-size:.98rem;line-height:1.55;margin-bottom:1.8rem;color:#333;
  }
  .df-panel .btn.small{
    padding:.65rem 1.8rem;font-size:.9rem;
  }
  .df-img{
    width:100%;max-width:460px;height:auto;margin-top:2.5rem; border-radius: 15px;
    max-height:230px;        /* stop images getting too tall */
  }
  
  @media(max-width:500px){
    .df-card{padding:2rem 1.5rem 2rem;}
    .df-panel h3{font-size:1.35rem;}
  }
  

  .df-tab.btn {
    /* override original df-tab paddings */
    padding: .55rem 1.9rem; 
    /* keep the round pill shape */
    border-radius: 15px;
    /* ensure the ripple & lift transitions fire */
    overflow: hidden;
    position: relative;
    z-index: 0;
    color: #000;
    transition:
      transform var(--transition-speed) var(--ease),
      box-shadow var(--transition-speed) var(--ease);
  }
  
  /* Smaller font so tab labels don’t jump too big */
  .df-tab.btn.small {
    font-size: .9rem;
    padding: .45rem 1.6rem;
  }
  
  /* Make the active tab dark (solid) */
  .df-tab.btn.active {
    /* you can either override to solid or keep outline + active style */
    background: var(--black);
    color: #fff;
    border-color: var(--black);
    
  }


  

/* =========================================================
   Industry-Solutions Section (6 cards, 3 / 2 / 1 per row)
========================================================= */
.industry-solutions{
    padding:clamp(4rem,8vw,7rem) 1rem;
    max-width:1300px;
    margin:0 auto;
  }
  
  /* ----- header ----- */
  .is-head{
    text-align:center;
    max-width:650px;
    margin:0 auto 3.5rem;
  }
  .is-head h2{
    font-size:clamp(2rem,4vw,2.8rem);
    font-weight:800;
    margin-bottom:1rem;
    color:#000;
  }
  .is-head p{
    font-size:1.05rem;
    line-height:1.55;
    color:#333;
    margin-bottom:2rem;
  }
  
  /* ----- grid: always THREE on desktop ----- */
  .is-grid{
    display:grid;
    gap:2rem;
    grid-template-columns:repeat(3,1fr);   /* desktop (≥ 921px) */
  }
  
  /* two per row */
  @media(max-width:920px){
    .is-grid{grid-template-columns:repeat(2,1fr);}
  }
  
  /* one per row */
  @media(max-width:600px){
    .is-grid{grid-template-columns:1fr;}
  }
  
  /* ----- card ----- */
  .is-card{
    display:flex;
    flex-direction:column;
    background:#f1f3f1;
    border-radius:15px;
    overflow:hidden;
    text-decoration:none;
    transition:transform .35s var(--ease),box-shadow .35s var(--ease);
    backdrop-filter:blur(14px) saturate(180%);
    -webkit-backdrop-filter:blur(14px) saturate(180%);
  
    border:1px solid rgba(255,255,255,.25);        /* subtle edge */
  }
  .is-card:hover{
    transform:translateY(-6px);
    box-shadow:0 12px 32px rgba(0,0,0,.16);
  }
  
  /* image with smooth zoom */
  .is-img{
    width:100%;
    height:180px;
    object-fit:cover;
    transition:transform .4s var(--ease);
  }
  .is-card:hover .is-img{transform:scale(1.08);}
  
  /* body */
  .is-body{
    padding:1.5rem;
    display:flex;
    flex-direction:column;
    gap:1.2rem;
    flex:1 1 auto;
  }
  .is-body h3{
    font-size:1.2rem;
    font-weight:700;
    color:#000;
    position:relative;
  }
  .is-body h3::after{
    content:"";
    display:block;
    width:32px;
    height:2px;
    background:var(--black);
    margin-top:.45rem;
  }
  .is-body p{
    font-size:.95rem;
    line-height:1.55;
    color:#333;
    flex:1 1 auto;
  }
  
  /* arrow button */
  .is-arrow{
    align-self:flex-end;
    width:42px;
    height:42px;
    border-radius:50%;
    background:var(--yellow);
    color:var(--black);
    font-size:1.1rem;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform .4s var(--ease), background .4s var(--ease);
  }
  .is-card:hover .is-arrow{
    background: black;
    color:var(--yellow);
    transform:translateX(6px) rotate(90deg);
  }
  

  /* ——— Industry Solutions CTA Button ——— */
.industry-solutions .is-cta {
    margin-top: 2.5rem;
    text-align: center;
  }
  
  .industry-solutions .is-cta .btn.solid {
    /* match your other full buttons */
    padding: 0.85rem 2.4rem;
    font-size: 1rem;
    border-radius: 15px;
  }
  
  @media (max-width: 600px) {
    .industry-solutions .is-cta .btn.solid {
      padding: 0.75rem 2rem;
      font-size: 0.95rem;
    }
  }
  


  /* =========================================================
   Referenz-Video section
========================================================= */
.ref-video{
    padding:clamp(4rem,8vw,7rem) 1rem;
    max-width:1200px;
    margin:0 auto;
    text-align:center;
  }
  
  .rv-title{
    font-size:clamp(2rem,4vw,2.8rem);
    font-weight:800;
    margin-bottom:1rem;
    color:#000;
  }
  
  .rv-lead{
    font-size:1.05rem;
    line-height:1.55;
    color:#333;
    margin-bottom:2.5rem;
    max-width:650px;
    margin-left:auto;
    margin-right:auto;
  }
  
  /* 16:9 responsive video */
  .rv-frame{
    position:relative;
    width:100%;
    padding-bottom:56.25%;        /* 16/9 ratio */
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 24px rgba(0,0,0,.18);
  }
  
  .rv-frame iframe,
  .rv-frame video{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    object-fit:cover;
    border:0;
  }

  

/* =========================================================
   UNSERE REFERENZEN SECTION
========================================================= */
.referenzen{
    padding:clamp(4rem,8vw,7rem) 1rem;
    max-width:1500px;
    margin:0 auto;
  }
  .ref-head{
    text-align:center;
    max-width:650px;
    margin:0 auto 3.5rem;
  }
  .ref-head h2{
    font-size:clamp(2rem,4vw,2.8rem);
    font-weight:800;
    margin-bottom:1rem;
    color:#000;
  }
  .ref-head p{
    font-size:1.05rem;
    line-height:1.55;
    color:#333;
  }
  
  /* --- grid layout (3 / 2 / 1 cards) --- */
  .ref-grid{
    display:grid;
    gap:2rem;
    grid-template-columns:repeat(3,1fr);    /* desktop */
  }
  @media(max-width:920px){
    .ref-grid{grid-template-columns:repeat(2,1fr);}
  }
  @media(max-width:600px){
    .ref-grid{grid-template-columns:1fr;}
  }
  
  /* --- card --- */
  .ref-card{
    position:relative;
    display:block;
    border-radius:15px;
    overflow:hidden;
    text-decoration:none;
    cursor:pointer;
    /* glassy background & shadow imitate existing cards */
    background:rgba(241,243,241,.65);
    backdrop-filter:blur(12px) saturate(160%);
    -webkit-backdrop-filter:blur(12px) saturate(160%);
    border:1px solid rgba(255,255,255,.25);
    transition:transform .4s var(--ease), box-shadow .4s var(--ease);
  }
  .ref-card:hover{
    transform:translateY(-6px);
    box-shadow:0 14px 36px rgba(0,0,0,.18);
  }
  
  /* image with classy hover */
  .ref-img{
    width:100%;
    height:320px;
    object-fit:cover;
    filter:grayscale(70%) brightness(1);
    transition:transform .6s var(--ease), filter .6s var(--ease);
    will-change:transform;
  }
  .ref-card:hover .ref-img{
    filter:grayscale(0%) brightness(1);
    transform:scale(1.08);
  }
  
  /* overlay that slides up */
  .ref-overlay{
    position:absolute;inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    background:linear-gradient(to top,rgba(0,0,0,.55) 0%,rgba(0,0,0,0) 60%);
    padding:1.6rem;
    transition:background .4s var(--ease);
  }
  .ref-card:hover .ref-overlay{
    background:linear-gradient(to top,rgba(0,0,0,.35) 0%,rgba(0,0,0,0) 60%);
  }
  
  .ref-overlay h3{
    font-size:1.15rem;
    font-weight:700;
    color:#fff;
    margin:0 0 0.8rem;
  }
  
  .ref-arrow{
    align-self:flex-start;
    width:42px;
    height:42px;
    border-radius:50%;
    background:var(--yellow);
    color:#000;
    font-size:1.1rem;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform .4s var(--ease), background .4s var(--ease);
  }
  .ref-card:hover .ref-arrow{
    background:#000;
    color:var(--yellow);
    transform:translateX(6px) rotate(90deg);
  }
  
  /* ——— Referenzen CTA Button ——— */
.referenzen .ref-cta {
    margin-top: 2.5rem;
    text-align: center;
  }
  
  .referenzen .ref-cta .btn {
    /* match your default btn sizing or bump it as desired */
    padding: 0.85rem 2.4rem;
    font-size: 1rem;
    border-radius: 15px;
  }
  
  @media (max-width: 600px) {
    .referenzen .ref-cta .btn {
      padding: 0.75rem 2rem;
      font-size: 0.95rem;
    }
  }
  

  

/* ========= CONTACT CTA BLOCK ========= */
.contact-cta {
  background-color: #2e332b;
  padding: 4rem 1rem;
  text-align: center;
  color: #fff;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
}

.contact-cta h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
}


  /* =========================================================
     FOOTER
  ========================================================= */
  .site-footer{
    background: #363c2d;
    color:#b4b7c2;
    font-size:.9rem;
  }
  /* ---------- TOP AREA: new flex layout ---------- */
.sf-top{
    max-width:1300px;
    margin:0 auto;
    padding:4rem 1rem 3rem;
    display:flex;
    gap:4rem;
    align-items:flex-start;
    flex-wrap:wrap;
  }
  
  /* elements inside .sf-top -------------------------------- */
  .sf-logo-link{flex:0 0 auto;}
  
  .sf-nav{
    flex:1 1 auto;
    display:flex;
    gap:4rem;
  }
  
  /* unordered lists = the three link columns */
  .sf-list{
    list-style:none;
    padding:0 0 0 2.5rem;     /* room for separator */
    margin:0;
    display:flex;
    flex-direction:column;
    gap:.6rem;
    position:relative;
  }
  
  /* vertical separator (skip the very first column) */
  .sf-list:not(:first-child)::before{
    content:"";
    position:absolute;
    inset-block:0;
    left:0;
    width:1px;
    background:rgba(255,255,255,.07);
  }
  
  /* links */
  .sf-list a{
    color:inherit;
    text-decoration:none;
    font-size:.95rem;
    letter-spacing:.05em;
    transition:color .25s;
  }
  .sf-list a:hover{color:var(--yellow);}
  
  /* CTA column ----------------------------------- */
  .sf-action{
    flex:0 0 auto;
    margin-left:auto;        /* pushes it to the far right */
  }
  
  /* ---------- RESPONSIVE TWEAKS ---------- */
  @media(max-width:900px){
    .sf-top{gap:2.5rem;}
    .sf-nav{flex-wrap:wrap;gap:2.5rem;}
    .sf-action{margin-left:0;}
  }
  
  @media(max-width:580px){
    .sf-top{
      flex-direction:column;
      align-items:flex-start;
    }
    .sf-action{width:100%;}
    .sf-action .btn{width:100%;text-align:center;}
  }
  
/* thin line between top & bottom ---------------------------------- */
.sf-divider{
    width:100%;
    border:none;
    border-top:1px solid rgba(255,255,255,.08);  /* a tad brighter */
    margin:0;
  }


  .sf-logo {
    max-height: 150px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    margin-top: -40px;
  }
  
  /* bottom bar ------------------------------------------------------ */
  .sf-bottom{
    max-width:1300px;
    margin:0 auto;
    padding:1.5rem 1rem 2.5rem;
    display:flex;
    flex-wrap:wrap;
    gap:1.5rem;
    align-items:center;
  }
  
  /* copyright + credit */
  .sf-meta{
    display:flex;
    flex-wrap:wrap;
    gap:1.5rem;          /* more breathing room */
    font-size:.85rem;
  }
  
  /* social icons ---------------------------------------------------- */
  .sf-social{
    display:flex;
    gap:1.25rem;
    margin-left:auto;

  }
  .sf-social a{
    color:#fff;          /* solid white so they’re visible */
    font-size:1.15rem;
    line-height:1;
    display:inline-flex;
    transition:color .25s;
    text-decoration: none !important;
  }
  .sf-social a:hover{color:var(--yellow);}
  
  /* responsive touch-ups ------------------------------------------- */
  @media(max-width:580px){
    .sf-bottom{
      flex-direction:column;
      align-items:flex-start;
      gap:1rem;
    }
    .sf-social{margin-left:0;}
  }
  

  

/* =========================================================
   ABOUT TIMELINE SECTION
========================================================= */
.about-timeline {
  background-color: #f8f9f9;
  padding: clamp(4rem, 8vw, 7rem) 1rem;
}

.timeline-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #000;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
}

.step-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  position: relative;
}

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 40px;
  top: 60px;
  bottom: -30px;
  width: 1px;
  background-color: #ccc;
}

.step-number {
  font-size: 3rem;
  font-weight: 500;
  color: var(--yellow);
  opacity: 1;
}

.step-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
}

.step-content p {
  margin-bottom: 1rem;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .step-item {
    grid-template-columns: 50px 1fr;
    gap: 1rem;
  }

  .step-number {
    font-size: 1.5rem;
  }

  .step-item:not(:last-child)::after {
    left: 25px;
  }

  .timeline-title {
    font-size: 1.5rem;
  }
}




.kontakt-section {
  background: #f8f9f9;
  padding: 6rem 1rem;
}

.kontakt-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 5rem;
  align-items: start;
}

.kontakt-left h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #000;
}

.kontakt-subtext {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  max-width: 40ch;
  margin-bottom: 2.5rem;
}

.social-block {
  margin-top: 2rem;
}

.follow-text {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #000;
}

.social-icons.large {
  display: flex;
  gap: 1rem;
}

.social-icons.large a {
  width: 48px;
  height: 48px;
  background: #eaeaea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--black);
  transition: background 0.3s ease, color 0.3s ease;
  text-decoration: none !important;
}

.social-icons.large a:hover {
  background: var(--yellow);
  color: #000;
}

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

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

.kontakt-form input,
.kontakt-form textarea {
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
  transition: border 0.3s ease;
}

.kontakt-form input:focus,
.kontakt-form textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.terms-row input {
  margin-top: 0.2rem;
}

.terms-row label {
  color: #333;
}

.terms-row a {
  color: var(--black);
  text-decoration: underline;
}



/* Flex row for side-by-side email + phone */
.form-row {
  display: flex;
  gap: 1rem;
}

.form-row input {
  flex: 1 1 50%;
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 12px;
  background: #fff;
  transition: border 0.3s ease;
}

.form-row input:focus {
  border-color: var(--yellow);
  outline: none;
}

/* Make inputs stack on small screens */
@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}



.review-section {
  background: #f8f9f9;
  padding: 4rem 1rem;
  color: white;
  text-align: center;
  overflow: hidden;
}

.review-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: black;
}

.review-rating {
  font-size: 1.1rem;
  color: black;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.review-rating img {
  width: 24px;
  height: 24px;
}

.stars-animated .star {
  font-size: 1.4rem;
  color: lightgray;
}

.stars-animated .star.active {
  color: #d5e099;
  text-shadow: 0 0 6px #d5e099;
}

/* === CAROUSEL STYLING === */
.carousel-wrapper {
  background: transparent;
  padding: 0;
  display: flex;
  justify-content: center;
}

.carousel-container {
  overflow: hidden;
  width: 100%;
  max-width: 1280px;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}


.review-card {
  background: #f8f9f9;
  border-radius: 15px;
  padding: 1.5rem;
  min-width: 300px;
  max-width: 300px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
  text-align: left;
  color: black;
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 50px;
}

.card-stars {
  color: #d5e099;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.card-author {
  font-weight: bold;
  margin-top: 1rem;
  color: #333;
}

@media (max-width: 1024px) {
  .review-card {
    min-width: 45vw;
  }
}
@media (max-width: 600px) {
  .review-card {
    min-width: 90vw;
  }
}
