:root {
    --main-color: #da1f3d;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



html {
    scroll-behavior: smooth; /* Smooth scrolling */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 2;
}


  /* montserrat-100italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 100;
    src: url('fonts/montserrat-v29-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-200 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/montserrat-v29-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-200italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 200;
    src: url('fonts/montserrat-v29-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-300 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/montserrat-v29-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-300italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 300;
    src: url('fonts/montserrat-v29-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/montserrat-v29-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('fonts/montserrat-v29-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/montserrat-v29-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-500italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 500;
    src: url('fonts/montserrat-v29-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('fonts/montserrat-v29-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-600italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 600;
    src: url('fonts/montserrat-v29-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('fonts/montserrat-v29-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-700italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 700;
    src: url('fonts/montserrat-v29-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-800 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('fonts/montserrat-v29-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-800italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 800;
    src: url('fonts/montserrat-v29-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-900 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 900;
    src: url('fonts/montserrat-v29-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  
  /* montserrat-900italic - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/medical/font-display for other options. */
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 900;
    src: url('fonts/montserrat-v29-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }


.corner-image {
    position: absolute;
    top: 10px; /* Abstand von oben */
    left: 10px; /* Abstand von links */
}

.corner-image img {
    width: 50px; /* Passe die Bildgröße an */
    height: auto; /* Behalte die Proportionen */
}

.language-dropdown {
    position: relative; /* Wichtig! Damit das Menü relativ dazu platziert wird */
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    align-items: center;
    justify-content: right;
}
.dropdown-toggle:hover {
    cursor: pointer;
    transform: scale(1.2); 
}

.dropdown-menu {
    position: absolute;
    top: 100%; /* Menü erscheint direkt unter dem Button */
    right: 0; /* Menü rechtsbündig unterhalb des Buttons */
    background: #fff;
    border: 1px solid #ccc;
    display: none;
    min-width: 150px;
    z-index: 9999; /* Über andere Elemente legen */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.226);
    font-family: 'Montserrat', sans-serif;
}

.dropdown-menu button {
    width: 100%;
    padding: 8px 12px;
    text-align: left;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.dropdown-menu button:hover {
    background: #eee;
}

/* Navbar */
/* Desktop Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20%;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    padding-top: 4px;
    color: #858585;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: color 0.5s;
}

.nav-links a:hover {
    color: #da1f3d;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links.open {
    width: 180px;
    font-family: 'Montserrat', sans-serif;
    border-radius: 0px;

}



.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    background-color: #1d1d1d;
    margin: 4px 0;
}

.logo img {
    width: 125px;
    padding: 5%;
}

.backlink img {
    width: 50px;
    padding: 1%;
}

.nav-links a.active {
    color: #151515; /* Schwarzer Text für den aktiven Link */
    font-weight: 500;
}

.image-overlay{
    color: #da1f3d;
}

/* Parallax Section */
.parallax {
    position: relative;
    background-image: url('Design ohne Titel (7).png');
    background-image: image-set(
        url('Design ohne Titel (7).webp') type('image/webp'),
        url('Design ohne Titel (7).png') type('image/png')
    );
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 90vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}
.parallax-products {
    position: relative;
    background-image: url('parallax.png');
    background-image: image-set(
        url('parallax.webp') type('image/webp'),
        url('parallax.png') type('image/png')
    );
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 30vh;
    display: flex;
    align-items: center;
    color: #db2020;
    animation: fadeIn 1s ease-in-out;
}
.parallax-production {
    position: relative;
    background-image: url('Design ohne Titel (10).png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 20vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    animation: fadeIn 1s ease-in-out;
}


.parallax::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 115, 135, 0);
    z-index: 1;
}

.parallax-content {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    padding: 5%;
    max-width: 30%;
    margin-left: 20%;
    max-height: 0%;
    
    
}

.parallax-content.centered {
    margin-left: auto;
    margin-right: auto;
}

.parallax-logo {
    width: 150px;
    margin-bottom: 5%;
}

.parallax-content h1 {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 7%;
    color: var(--main-color);
    text-align: left;
    line-height: 1.25;
}

.parallax-content p {
    font-size: 0.85rem;
    font-weight: 500;
    color: #000000;
    margin-bottom: 7%;
    text-align: left;
    line-height: 2;
}

.button {
    background-color: #ffffffdc;
    color: rgb(0, 0, 0);
    padding: 12px 7%;
    text-decoration: none;
    font-weight: 500;
    font-size: 70%;
    transition: background-color 0.3s;
    border: 2px solid #000;
}

.button:hover {
    background-color: #e4e4e4;
}




/* Hauptinhalt */
main {
    padding: 40px 0;
    text-align: justify;
}

.full-width ul {
    text-align: left; /* Stellt sicher, dass der Text linksbündig ausgerichtet ist */
    padding-left: 20px; /* Passt die Einrückung der Aufzählungspunkte an */
}

.full-width li {
    margin-left: 10px; /* Abstand zwischen Aufzählungszeichen und Text */
}

.banners {
    height: 10%;
    width: 120%;
    display: inline-block; /* Optional, damit der Hover-Bereich genau um das Bild passt */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Für sanfte Animation */
    margin-left: 60%;
}

.banners:hover {
    transform: scale(1.05); /* Leichte Vergrößerung */
    opacity: 0.9; /* Leichte Transparenz */
}

.banners img {
    min-height: 100px;
    max-width: 3900px;
    transition: transform 0.3s ease; /* Für sanfte Animation des Bildes */
}

.banners:hover img {
    transform: scale(1.0001); /* Zusätzliches Wachstum nur beim Bild */
}



/* Templates */
.template {
    margin: 0 auto;
    padding: 20px 0;
    width: 60%; /* Standardbreite für größere Viewports */
    max-width: 1000px; /* Begrenzung für sehr breite Bildschirme */
    min-width: 200px; /* Mindestbreite für schmale Bildschirme */
    background-color: #ffffff;
}

@media screen and (max-width: 1200px) {
    .template {
        width: 90%; /* Bei kleineren Viewports mehr Platz nutzen */
    }
}

@media screen and (max-width: 768px) {
    .template {
        width: 90%; /* Für Mobilgeräte fast die gesamte Breite verwenden */
    }
}

.banners {
    max-width: 100%;
    display: inline-block; /* Optional, damit der Hover-Bereich genau um das Bild passt */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Für sanfte Animation */
}

.banners:hover {
    transform: scale(1.05); /* Leichte Vergrößerung */
    opacity: 0.9; /* Leichte Transparenz */
}

.banners img {
    min-height: 50px;
    max-width: 150px;
    transition: transform 0.3s ease; /* Für sanfte Animation des Bildes */
}

.banners:hover img {
    transform: scale(1.0001); /* Zusätzliches Wachstum nur beim Bild */
}


/* Linke Spalte Template */
.template.left-column .container {
    display: flex;
    justify-content: flex-start;
}

.template.left-column .column {
    width: 50%;
}

.template.left-column .column h1 {
    text-align: left;
    color: var(--main-color);
    margin-bottom: 20px;
}

.template.left-column .column p {
    text-align: justify;
}

/* Rechte Spalte Template */
.template.right-column .container {
    display: flex;
    justify-content: flex-end;
}

.template.right-column .column {
    width: 50%;
}

.template.right-column .column h2 {
    text-align: left;
    color: var(--main-color);
    margin-bottom: 20px;
}

.template.right-column .column p {
    text-align: justify;
}

/* Volle Breite Template */
.template.full-width .container {
    width: 100%;
}

.template.full-width h2,
.template.full-width h1 {
    text-align: left;
    color: var(--main-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.ul {
    text-align: left; /* Stellt sicher, dass der Text linksbündig ausgerichtet ist */
    padding-left: 20px; /* Passt die Einrückung der Aufzählungspunkte an */
}

.li {
    margin-left: 10px; /* Abstand zwischen Aufzählungszeichen und Text */
}


.template.full-width p {
    text-align: justify;
}

/* Bild links, Text rechts Template */
.template.image-left-text-right .container {
    display: flex;
    justify-content: space-between;
}

.template.image-left-text-right .image-column {
    width: 48%;
}

.template.image-left-text-right .text-column {
    width: 48%;
}

.template.image-left-text-right img {
    width: 100%;
    height: auto;
}

.template.image-left-text-right h2 {
    text-align: left;
    color: var(--main-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.template.image-left-text-right p {
    text-align: justify;
}

/* Bild rechts, Text links Template */
.template.image-right-text-left .container {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.template.image-right-text-left .image-column,
.template.image-right-text-left .text-column {
    width: 48%;
}

.template.image-right-text-left img {
    width: 100%;
    height: auto;
}

.template.image-right-text-left h2 {
    text-align: justify;
    color: var(--main-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.template.image-right-text-left p {
    text-align: justify;
}

/* Nur Überschrift Template */
.template.heading-only {
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

.template.heading-only h1,
.template.heading-only h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    text-align: center;
}

.template.heading-only p {
    display: none;
}

/* Überschrift links Template */
.template.heading-left {
    width: 100%;
    padding: 20px 0;
    
}

.template.heading-left h1,
.template.heading-left h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    text-align: left;
    margin-left: 0; /* Gleicher Abstand wie die Absätze */
}

.template.heading-left p {
    display: none;
}

/* Überschrift rechts Template */
.template.heading-right {
    width: 100%;
    padding: 20px 0;
}

.template.heading-right h1,
.template.heading-right h2 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--main-color);
    text-align: right;
    margin-right: 0; /* Gleicher Abstand wie die Absätze */
}

.template.heading-right p {
    display: none;
}

/* Zwei Texte nebeneinander Template */
.template.two-text-blocks .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
}

.template.two-text-blocks .text-block {
    width: 48%;
}

.template.two-text-blocks .text-block h2 {
    text-align: justify;
    color: var(--main-color);
}

.template.two-text-blocks .text-block p {
    text-align: justify;
    color: #333;
}

/* Zwei Bilder nebeneinander Template */
.template.two-images .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 0;
}

.template.two-images .image-block {
    width: 48%;
}

.template.two-images .image-block img {
    width: 100%;
    height: auto;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .template.left-column .container,
    .template.right-column .container,
    .template.image-left-text-right .container,
    .template.image-right-text-left .container,
    .template.two-text-blocks .container,
    .template.two-images .container {
        flex-direction: column;
        align-items: center;
    }

    .template.left-column .column,
    .template.right-column .column,
    .template.image-left-text-right .image-column,
    .template.image-left-text-right .text-column,
    .template.image-right-text-left .image-column,
    .template.image-right-text-left .text-column,
    .template.two-text-blocks .text-block,
    .template.two-images .image-block {
        width: 100%;
    }

    /* Reihenfolge für Bild rechts, Text links Template anpassen */
    .template.image-right-text-left .container {
        flex-direction: column;
    }

    .template.image-right-text-left .image-column {
        order: 2;
    }

    .template.image-right-text-left .text-column {
        order: 1;
    }

    /* Überschrift Templates Anpassung */
    .template.heading-left h1,
    .template.heading-left h2,
    .template.heading-right h1,
    .template.heading-right h2 {
        text-align: center;
        margin-left: 0;
        margin-right: 0;
    }

    .parallax-content {
        margin: 0 auto;
        max-width: 90%;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: #333;
        padding: 10px;
        border-radius: 8px;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }

    .nav-links a {
        color: #fff;
        font-size: 16px;
    }

    .nav-links a:hover {
        color: #ddd;
    }
}

.footer {
    background: linear-gradient(90deg, rgba(218, 31, 61, 0.974), #da1f3d);
    color: #ffffff;
    padding: 40px 20%;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeIn 1s ease-in-out;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.footer-left {
    width: 40%;
    text-align: left;
}

.footer-logo {
    width: 150px;
    margin-bottom: 10px;
}

.footer-left p {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.6;
    font-size: 10px;
    width: 200px;
}

.footer-right {
    display: flex;
    justify-content: space-between;
    width: 55%;
    font-size: 10px;
}

.footer-column {
    width: 45%;
}

.footer-column h3 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-column p {
    line-height: 1.8;
    font-weight: 300;
    font-size: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #cce7ff;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-left, .footer-right {
        width: 100%;
        text-align: center;
    }

    .footer-right {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        width: 100%;
    }
}

/* Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Standard: 4 Spalten */
    gap: 20px;
    max-width: 2000px;
    margin: auto;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Bei mittleren Viewports: 2 Spalten */
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr; /* Bei schmalen Viewports: 1 Spalte */
    }
}

/* Kachel-Styling */
.product-tile {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Macht die Kacheln quadratisch */
    overflow: hidden;
    box-shadow: 0 10px 7px rgba(0, 0, 0, 0.1);
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-tile img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-tile:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.product-tile:hover img {
    opacity: 0.8;
}

.overlay_engineering {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert das Overlay */
    width: 100%;
    height: 100%;
    padding: 10px;
    background: linear-gradient(90deg, rgba(190, 18, 18, 0.842), #ff212154);
    color: #ffffff;
    font-size: 1rem;
    text-align: center;

    opacity: 1; /* Immer sichtbar */
    transition: opacity 0.3s ease;

    /* Zusätzliche Änderungen */
    font-weight: bold; /* Macht den Text dicker */


    /* Flexbox für perfekte Zentrierung */
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay_electronis {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert das Overlay */
    width: 100%;
    height: 100%;
    padding: 10px;
    background: linear-gradient(90deg, rgba(190, 18, 18, 0.842), #ff212154);
    color: #ffffff;
    font-size: 1rem;
    text-align: center;

    opacity: 1; /* Immer sichtbar */
    transition: opacity 0.3s ease;

    /* Zusätzliche Änderungen */
    font-weight: bold; /* Macht den Text dicker */


    /* Flexbox für perfekte Zentrierung */
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay_life_sciences {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Zentriert das Overlay */
    width: 100%;
    height: 100%;
    padding: 10px;
    background: linear-gradient(90deg, rgba(190, 18, 18, 0.842), #ff212154);
    color: #ffffff;
    font-size: 1rem;
    text-align: center;

    opacity: 1; /* Immer sichtbar */
    transition: opacity 0.3s ease;

    /* Zusätzliche Änderungen */
    font-weight: bold; /* Macht den Text dicker */


    /* Flexbox für perfekte Zentrierung */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-tile:hover .overlay {
    opacity: 1; /* Beibehaltung für Hover */
}

