/* =========================================================
   INDEX HERO
   ========================================================= */

.index-hero-section {
  position: relative;
  overflow: hidden;
  padding: 0 !important;
  margin-top: 0;

  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}


/* Verlauf über die KOMPLETTE Breite des Hero */

.index-hero-section::before {
  content: "";
  position: absolute;
  z-index: 1;

  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  pointer-events: none;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 27%,
    rgba(255,255,255,0.98) 36%,
    rgba(255,255,255,0.88) 44%,
    rgba(255,255,255,0.65) 52%,
    rgba(255,255,255,0.35) 61%,
    rgba(255,255,255,0.12) 69%,
    rgba(255,255,255,0) 77%
  );
}

.index-hero-section::before {
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.98) 0%,
    rgba(255,255,255,0.98) 22%,
    rgba(255,255,255,0.93) 32%,
    rgba(255,255,255,0.78) 42%,
    rgba(255,255,255,0.55) 52%,
    rgba(255,255,255,0.28) 62%,
    rgba(255,255,255,0.08) 72%,
    rgba(255,255,255,0) 80%
  );
}

.index-hero-section .shell {
  position: relative;
  z-index: 2;
}

.index-hero-content::before {
  display: none;
}

/* Gesamter Hero */

.index-hero-content {
  position: relative;
  min-height: 600px;
  display: block;
}

/* Weißer Verlauf über dem Bild */

.index-hero-content::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;

  background: linear-gradient(
    90deg,
    rgba(255,255,255,1) 0%,
    rgba(255,255,255,1) 24%,
    rgba(255,255,255,0.98) 34%,
    rgba(255,255,255,0.90) 42%,
    rgba(255,255,255,0.72) 50%,
    rgba(255,255,255,0.45) 58%,
    rgba(255,255,255,0.20) 66%,
    rgba(255,255,255,0) 76%
  );
}

/* Textbereich */

.index-hero-text {
  position: relative;
  z-index: 3;
  width: 54%;
  max-width: 700px;
  padding-top: 105px;
  padding-bottom: 95px;
}

.index-hero-kicker {
  margin-bottom: 18px;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--orange);
}

.index-hero-text h1 {
  margin: 0 0 26px 0;
  font-size: 60px !important;
  line-height: 1.04;
  font-weight: 700;
  color: #202b36;
}

.index-hero-text h1 span {
  color: #ec9345;
}

.index-hero-subline {
  margin: 0;
  max-width: 650px;
  font-size: 20px;
  line-height: 1.45;
  color: #68727b;
}

.index-hero-subline strong {
  font-weight: 700;
  color: #202b36;
}

/* Button */

.index-hero-button {
  margin-top: 30px;
}

.index-hero-cta {
  padding: 13px 24px;
  background: #ec9345 !important;
  border: 1px solid #ec9345 !important;
  color: #ffffff !important;
  font-weight: 700;
}

.index-hero-cta:hover {
  background: #dd7d00 !important;
  border-color: #dd7d00 !important;
  color: #ffffff !important;
}

/* Hero-Bild
   Das vorhandene <img> wird wie ein Hintergrundbild verwendet. */

.index-hero-machine {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 72%;
  max-width: none;
  height: 100%;
}

.index-hero-machine img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  margin: 0;
}

.index-hero-mobile-image {
  display: none;
}

/* =========================================================
   HERO - GROSSE DESKTOPS
   ========================================================= */

@media (min-width: 1400px) {

  .index-hero-content {
    min-height: 640px;
  }

  .index-hero-text {
    padding-top: 115px;
    padding-bottom: 105px;
  }

  .index-hero-text h1 {
    font-size: 64px !important;
  }

}

/* =========================================================
   HERO - TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 991px) {

  .index-hero-content {
    min-height: 500px;
  }

  .index-hero-content::before {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,0.98) 34%,
      rgba(255,255,255,0.82) 48%,
      rgba(255,255,255,0.30) 64%,
      rgba(255,255,255,0) 78%
    );
  }

  .index-hero-text {
    width: 62%;
    max-width: 62%;
    padding-top: 72px;
    padding-bottom: 65px;
  }

  .index-hero-text h1 {
    font-size: 44px !important;
  }

  .index-hero-subline {
    font-size: 17px;
  }

  .index-hero-machine {
    width: 72%;
  }

}

/* =========================================================
   HERO - MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .index-hero-section {
    background-image: none !important;
    background-color: #ffffff;
  }

  .index-hero-section::before {
    display: none;
  }

  .index-hero-content {
    min-height: 0;
    display: block;
  }

  .index-hero-text {
    width: 100%;
    max-width: 100%;

    padding-top: 28px;
    padding-bottom: 0;

    text-align: center;
  }

  .index-hero-kicker {
    display: none;
  }

  .index-hero-text h1 {
    font-size: 30px !important;
    line-height: 1.08;
    margin-bottom: 14px;
  }

  .index-hero-subline {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  /* Button wieder anzeigen */

  .index-hero-button {
    display: block;
    margin-top: 20px;
    margin-bottom: 25px;
  }

  .index-hero-cta {
    padding: 6px 16px;
    font-size: 13px;
    line-height: 1.2;
  }

  /* Bild unter Text und Button */

  .index-hero-mobile-image {
    display: block;
    width: 100%;
    margin-top: 10px;
  }

  .index-hero-mobile-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
  }

}

/* =========================================================
   HERO BENEFITS – NUR DESKTOP
   ========================================================= */

.index-hero-benefits {
  display: none;
}

@media (min-width: 992px) {

  .index-hero-benefits {
    display: block;
    background: #ffffff;
    padding: 22px 0;
  }

  .index-hero-benefits-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  .index-hero-benefit {
    width: 25%;
    min-width: 0;

    display: flex;
    align-items: center;

    padding: 0 28px;
    border-right: 1px solid #dddddd;
  }

  .index-hero-benefit:first-child {
    padding-left: 0;
  }

  .index-hero-benefit:last-child {
    padding-right: 0;
    border-right: none;
  }

  .index-hero-benefit-icon {
    flex: 0 0 58px;
    margin-right: 18px;
  }

  .index-hero-benefit-icon img {
    display: block;
    width: 50px;
    height: 50px;
    object-fit: contain;
  }

  .index-hero-benefit-text {
    min-width: 0;
  }

  .index-hero-benefit-text strong {
    display: block;

    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;

    color: #202b36;
  }

  .index-hero-benefit-text span {
    display: block;

    margin-top: 5px;

    font-size: 14px;
    line-height: 1.3;

    color: #68727b;
  }

}

/* =========================================================
   INDEX - SECTION TITEL
   ========================================================= */

h2.index-section-title {
  font-size: 28px !important;
  line-height: 1.2 !important;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px 0;
}

/* =========================================================
   INDEX - KACHELN (TILES)  -  alle Kachel-Sektionen
   ========================================================= */

.index-tiles-section {
  padding-top: 50px !important;
  padding-bottom: 20px !important;
}

.index-tiles-section h2.index-section-title {
  margin-bottom: 6px;
}

.index-tiles-section .divider {
  margin-bottom: 18px;
}

.index-tile-row {
  margin-top: 30px;
}

.index-tile-row > [class*="cell-"] {
  padding-left: 8px;
  padding-right: 8px;
  margin-bottom: 18px;
}

.index-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}


/* Kachel */

.index-tile {
  height: 100%;
  padding: 10px;
  background: #ffffff;
  border: 1px solid #eeeeee;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.index-tile:hover {
  border-color: #f6b26b;
  box-shadow: 0 7px 18px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}


/* Bildbereich */

.index-tile-image {
  margin-bottom: 10px;
}

.index-tile-image figure {
  margin: 0;
}

.index-tile-image img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}


/* Titel */

.index-tile h4 {
  margin: 0 8px 5px 8px;
  font-size: 15px !important;
  line-height: 1.2;
  font-weight: 700;
}


/* Subline */

.index-tile p {
  margin: 0 8px 2px 8px;
  min-height: 38px;
  font-size: 14px;
  line-height: 1.3;
  color: #6f777d;
}


/* Pfeil */

.index-tile-arrow {
  margin-top: 0;
  font-size: 22px;
  line-height: 1;
  color: #ec9345;
  font-weight: 400;
}


/* Button unter den Kacheln */

.index-tile-button {
  text-align: center;
  margin-top: 16px;
}


/* =========================================================
   KACHELN - TABLET
   ========================================================= */

@media (max-width: 991px) {

  .index-tile-image img {
    width: 150px;
    height: 150px;
  }

}


/* =========================================================
   KACHELN - MOBIL
   ========================================================= */

@media (max-width: 767px) {

  .index-tile {
    margin-bottom: 10px;
  }

  .index-tile h4 {
    font-size: 18px;
  }

  .index-tile p {
    font-size: 14px;
    min-height: 34px;
  }

  h2.index-section-title {
    font-size: 24px !important;
  }

  .index-tile-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .index-tile-row > [class*="cell-"] {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;

    margin-top: 0 !important;
    margin-bottom: 12px !important;

    padding-left: 6px;
    padding-right: 6px;
    box-sizing: border-box;

    display: flex;
  }

  .index-tile-row .index-card-link {
    display: flex;
    width: 100%;
    height: auto;
  }

  .index-tile-row .index-tile {
    width: 100%;
    height: auto;
  }

}


/* =========================================================
   KACHELN - KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 480px) {

  .index-tile-image img {
    width: 75%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

}


/* =========================================================
   ANWENDUNGEN + MASCHINEN - 5 KACHELN PRO REIHE (nur Desktop)
   ========================================================= */

@media (min-width: 992px) {

  #applications .index-tile-row > [class*="cell-"],
  #machines .index-tile-row > [class*="cell-"] {
    -webkit-box-flex: 0 !important;
    -webkit-flex: 0 0 20% !important;
    -ms-flex: 0 0 20% !important;
    flex: 0 0 20% !important;
    width: 20% !important;
    max-width: 20% !important;
  }

}


/* =========================================================
   ANWENDUNGEN - auf Tablet + Mobil nur 6 Kacheln zeigen
   (ab der 7. ausgeblendet; Rest ueber "Weitere Anwendungen")
   ========================================================= */

@media (max-width: 991px) {

  #applications .index-tile-row > [class*="cell-"]:nth-child(n+7) {
    display: none !important;
  }

}


.index-solution-button {
  background: #ffffff !important;
  border: 1px solid #ec9345 !important;
  color: #333333 !important;
  padding: 8px 22px;
}

.index-solution-button span {
  color: #ec9345;
  font-size: 18px;
  margin-left: 12px;
}

.index-solution-button:hover {
  background: #ec9345 !important;
  color: #ffffff !important;
}

.index-solution-button:hover span {
  color: #ffffff;
}


/* =========================================================
   INDEX - WARUM CNC-MULTITOOL
   ========================================================= */

.index-why-section {
  padding-top: 18px !important;
  padding-bottom: 25px !important;
}

.index-why-wrap {
  width: 100%;
  background: #2b3944;
  padding: 45px 20px 40px 20px;
}

.index-why-wrap h2.index-section-title {
  color: #ffffff;
  margin-bottom: 24px;
}

.index-why-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.index-why-item {
  width: 16.6667%;
  padding: 0 18px;
  text-align: center;
}

.index-why-item:last-child {
  border-right: none;
}


/* Icons */

.index-why-icon {
  height: 78px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.index-why-icon img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}


/* Titel */

.index-why-item h4 {
  margin: 20px 0 6px 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}


/* Subline */

.index-why-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #c8d0d5;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

  .index-why-row {
    flex-wrap: wrap;
  }

  .index-why-item {
    width: 33.3333%;
    margin-bottom: 25px;
  }

  .index-why-item:nth-child(3),
  .index-why-item:nth-child(6) {
    border-right: none;
  }

}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 767px) {

  .index-why-item {
    width: 50%;
    padding: 0 12px;
  }

  .index-why-item:nth-child(3) {
    border-right: 1px solid #dddddd;
  }

  .index-why-item:nth-child(even) {
    border-right: none;
  }

  .index-why-icon img {
    width: 80px;
    height: 80px;
  }

  .index-why-section .shell {
    padding-bottom: 4px !important;
  }

}


/* =========================================================
   KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 480px) {

  .index-why-wrap {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 0;
  }

  .index-why-item h4 {
    font-size: 14px;
  }

  .index-why-item p {
    font-size: 12px;
  }

  .index-why-section .shell {
    padding-bottom: 4px !important;
  }
}



/* =========================================================
   FOOTER CTA
   ========================================================= */

.footer-cta {
  position: relative;
  padding: 28px 0;
  margin-top: 50px;
  background: #29353F; 
/* background:
    linear-gradient(
      rgba(18, 31, 42, 0.90),
      rgba(18, 31, 42, 0.90)
    ),
     url("../images/footer/footer-background.jpg") center center / cover no-repeat; */
  color: #ffffff;
}


.footer-cta-content {
  display: flex;
  align-items: center;
}


/* LINKER BEREICH */

.footer-cta-intro {
  width: 38%;
  padding-right: 45px;
}


.footer-cta-intro h2 {
  margin: 0 0 10px 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}


.footer-cta-intro p {
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #ffffff;
}


.footer-cta-button {
  background: #ec9345 !important;
  border: 1px solid #ec9345 !important;
  color: #ffffff !important;
  padding: 10px 18px;
}


.footer-cta-button span {
  margin-left: 10px;
  font-size: 18px;
}


.footer-cta-button:hover {
  background: #ffffff !important;
  color: #333333 !important;
}


/* SERVICEBEREICH */

.footer-cta-services {
  width: 62%;
  display: flex;
}


.footer-cta-service {
  width: 25%;
  padding: 0 15px;
  text-align: center;
}


.footer-cta-icon {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}


.footer-cta-icon img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}


.footer-cta-service h4 {
  margin: 0 0 4px 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}


.footer-cta-service p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #ffffff;
}



/* =========================================================
   HAUPTFOOTER
   ========================================================= */

.footer-new {
  background: #14212b;
  color: #ffffff;
}


.footer-main {
  display: flex;
  padding: 28px 0 26px 0;
}


.footer-column {
  padding: 0 30px;
  box-sizing: border-box;
  border-right: 1px solid rgba(255,255,255,0.18);
}


.footer-column:first-child {
  padding-left: 0;
}


.footer-column:last-child {
  padding-right: 0;
  border-right: none;
}


.footer-about {
  width: 28%;
}


.footer-contact {
  width: 25%;
}


.footer-service {
  width: 25%;
}


.footer-social {
  width: 22%;
}


.footer-column h4 {
  margin: 0 0 12px 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}


.footer-column p,
.footer-column li,
.footer-column a {
  font-size: 13px;
  line-height: 1.55;
}


.footer-column p {
  color: #e3e7ea;
}


.footer-column a {
  color: #ffffff;
  text-decoration: none;
}


.footer-column a:hover {
  color: #ec9345;
}


/* ÜBER UNS */

.footer-more-link {
  display: inline-block;
  margin-top: 5px;
  font-weight: 700;
}


.footer-more-link span {
  margin-left: 8px;
  color: #ec9345;
}


/* KONTAKT */

.footer-contact p {
  margin: 0 0 10px 0;
}


.footer-contact-line span {
  display: inline-block;
  width: 25px;
  color: #ec9345;
}


/* SERVICE */

.footer-service ul {
  margin: 0;
  padding: 0;
  list-style: none;
}


.footer-service li {
  margin: 0 0 3px 0;
}


/* SOCIAL */

.footer-social-icons {
  display: flex;
  gap: 9px;
  margin: 3px 0 16px 0;
}


.footer-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 28px;
  height: 28px;

  background: #ffffff;
  border-radius: 3px;

  font-size: 17px;
  color: #14212b;
}


.footer-social-icons a:hover {
  background: #ec9345;
  color: #ffffff;
}


.footer-web {
  margin-bottom: 8px !important;
}


.footer-legal {
  margin: 0 !important;
}


.footer-legal span {
  margin: 0 6px;
  color: #89939b;
}



/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 10px 0;
}


.footer-bottom p {
  margin: 0;
  font-size: 12px;
  color: #aeb7bd;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

  .footer-cta-content {
    display: block;
  }

  .footer-cta-intro {
    width: 100%;
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-cta-services {
    width: 100%;
  }


  .footer-main {
    flex-wrap: wrap;
  }


  .footer-column {
    width: 50%;
    padding: 0 25px;
    margin-bottom: 30px;
  }


  .footer-column:nth-child(2) {
    border-right: none;
  }


  .footer-column:nth-child(3) {
    padding-left: 0;
  }

}



/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 767px) {

  .footer-cta {
    padding: 28px 0;
  }


  .footer-cta-services {
    flex-wrap: wrap;
  }


  .footer-cta-service {
    width: 50%;
    margin-bottom: 24px;
  }


  .footer-main {
    display: block;
  }


  .footer-column {
    width: 100%;
    padding: 0 0 22px 0;
    margin-bottom: 22px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
  }


  .footer-column:last-child {
    border-bottom: none;
  }

}


/* =========================================================
   INDEX-CONTACT  (Warum cnc-multitool + Kontaktieren Sie uns)
   eigene Klasse der Startseite - unabhaengig von products.css
   ========================================================= */

.index-contact {
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 45px;
  max-width: 1150px;
  margin: 0 auto;
}

.index-contact-text {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.index-contact-image {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.index-contact-image img {
  display: block;
  width: 100%;
  height: auto;
}

.index-contact-text p {
  font-size: 17px;
  line-height: 1.65;
}


/* Tablet + Mobil: untereinander */
@media (max-width: 767px) {

  .index-contact {
    display: block;
  }

  .index-contact-image {
    margin-top: 25px;
    text-align: center;
  }

  .index-contact-image img {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

}
