@font-face {
    font-family: 'Ubuntu';
    src: url('fonts/ubuntu-regular.woff2') format('woff2'),
         url('fonts/ubuntu-regular.woff') format('woff'),
         url('fonts/ubuntu-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: url('assets/bg.jpg') no-repeat center center fixed;
    background-size: cover;
}

header {
    background-color: rgba(255, 140, 0, 0.9);
    color: white;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header img {
    max-width: 120px;
    max-height: 50px;
    margin-right: 20px;	
}

header h1 {
    margin: 0;
    font-size: 1.5em;
    text-align: center;	
    flex-grow: 1; /* Sorgt für Zentrierung zwischen flex-items */ 	
}

.main {
    padding: 20px;
}

.product-highlight {
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    margin: 20px auto;
    padding: 20px;
    max-width: 800px;
    border-radius: 10px;
    text-align: center;
}

.product-highlight h2 {
    color: #FF8C00;
}

.product-highlight img {
    max-width: 300px;
    border-radius: 10px;
    transition: transform 3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.product-highlight img:hover {
    transform: scale(1.2);
}

.product-highlight ul {
    list-style-type: disc;
    margin: 20px;
    padding: 0 20px;
    text-align: left;
}

.cta-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    color: white;
    background-color: #FF8C00;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #E67E22;
}

.b2b-section {
    margin-top: 40px;
    padding: 20px;
    background-color: #F5ECD8;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.b2b-section img {
    max-width: 300px;
    border-radius: 10px;
    transition: transform 3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.b2b-section img:hover {
    transform: scale(1.05);
}

footer {
    margin-top: 40px;
    background-color: rgba(255, 140, 0, 0.9);
    color: white;
    text-align: center;
    padding: 10px;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.2);
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

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

.get-in-touch {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.get-in-touch h2 {
    font-family: 'Ubuntu', sans-serif;
    color: #FF8C00;
    margin-bottom: 10px;
}

.get-in-touch p {
    font-family: 'Ubuntu', sans-serif;
    color: #333;
    margin-bottom: 10px;
}

.get-in-touch ul {
    list-style: none;
    padding: 0;
}

.get-in-touch li {
    font-family: 'Ubuntu', sans-serif;
    color: #555;
    margin-bottom: 8px;
}

.get-in-touch a {
    text-decoration: none;
    color: #FF8C00;
    transition: color 0.3s;
}

.get-in-touch img {
    max-width: 300px;
    border-radius: 10px;
    transition: transform 3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.get-in-touch a:hover {
    color: #E67300;
}

.get-in-touch i {
    font-size: 20px;
    margin-right: 10px;
    color: #FF8C00;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.2em;
    }

    .product-highlight, .b2b-section {
        padding: 10px;
    }

    .cta-button {
        font-size: 14px;
    }
}

.why-choose-us {
    background-color: #f9f9f9; /* Gleiche Hintergrundfarbe wie 'get-in-touch' */
    padding: 40px 20px; /* Gleicher Padding-Wert oben und unten */
    border-radius: 8px; /* Abgerundete Ecken wie 'get-in-touch' */
    margin: 20px 0; /* Abstand nach oben und unten */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Gleicher Schatteneffekt */
    text-align: center; /* Zentrierung des Inhalts */
}

.why-choose-us h2 {
    font-family: 'Ubuntu', sans-serif; /* Einheitlicher Font */
    font-size: 1.8em; /* Kopfzeilengröße wie andere Sektionen */
    color: #FF8C00; /* Orange passend zu anderen Abschnitten */
    margin-bottom: 10px; /* Platz unter der Überschrift */
}

.why-choose-us .inline-logo {
    display: inline-block; /* Logo in Textfluss */
    max-width: 250px; /* Passende Größe für Lesbarkeit */
    width: 100%;
    height: auto;
    vertical-align: middle; /* Vertikale Ausrichtung mit Text */
    margin: 0 10px; /* Abstand zum Text links und rechts */
}

.why-choose-us ul {
    list-style-type: none;
    padding: 0 20px; /* Gleiche Abstände wie 'get-in-touch' */
    text-align: center;
    margin: 20px auto;
}


.why-choose-us ul li {
     font-weight: bold; /* Fettschrift für die Liste */
      margin-bottom: 10px;
}

.why-choose-us p {
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.why-choose-us img {
    max-width: 300px;
    border-radius: 10px;
    transition: transform 3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.why-choose-us a:hover {
    color: #E67300;
}



/* Responsivität für Mobilgeräte */
@media (max-width: 768px) {
    .why-choose-us {
        padding: 20px 10px; /* Weniger Padding auf kleinen Bildschirmen */
    }

    .why-choose-us h2 {
        font-size: 1.5em; /* Kleinere Schriftgröße */
    }

    .why-choose-us .inline-logo {
        max-width: 200px; /* Kleineres Logo */
    }
}




/* Responsivität */
@media (max-width: 768px) {
    .why-choose-us-bg {
        padding: 40px 10px; /* Weniger Padding auf kleineren Bildschirmen */
    }
    .why-choose-us-bg h2 {
        font-size: 1.5em; /* Kleinere Schriftgröße */
    }
    .why-choose-us-bg .inline-logo {
        max-width: 300px; /* Kleineres Logo auf mobilen Geräten */
    }
}

/*--------------Bilderwechsel -------------------   */

.image-slider {
    position: relative;
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    align-items: center; /* Vertikale Zentrierung */
    width: 100%;
    max-width: 400px; /* Maximale Breite des Containers */
    height: 300px; /* Festgelegte Höhe */
    margin: 0 auto 20px; /* Zentriert und Platz nach unten */
    overflow: hidden;
    background-color: #fff; /* Optional: Hintergrundfarbe */
}

.image-slider img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1); /* Standardzustand */
    max-width: 100%;
    max-height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Nur Opazität animieren */
}

.image-slider img.active {
    opacity: 1;
}
.product-highlight {
    text-align: center; /* Zentriert den gesamten Text */
}

.product-highlight p,
.product-highlight ul {
    margin-top: 20px; /* Abstand zwischen dem Text und dem Slider */
}

.image-slider img:hover {
    transform: translate(-50%, -50%) scale(1.3); /* Gleiche Skalierung wie im Standardzustand */
}

/* Text zum rotierenden Bild */

.rotating-text {
    transition: opacity 0.5s ease-in-out;
    opacity: 1; /* Standardzustand */
}

.rotating-text.hidden {
    opacity: 0; /* Unsichtbarer Zustand */
}

/* Responsivität */

@media (min-width: 1024px) {
    .image-slider {
        max-width: 500px; /* Erhöhte Breite für größere Darstellung */
        height: 400px; /* Entsprechend höhere Höhe */
    }
}

@media (max-width: 768px) {
    .image-slider {
        max-width: 100%; /* Container nimmt die volle Breite ein */
        height: auto; /* Höhe passt sich an die Breite an */
        aspect-ratio: 1 / 1; /* Quadratische Darstellung */
      

    .product-highlight p,
    .product-highlight ul {
        padding: 0 10px; /* Textabstand in der Mobilansicht */
    }
}
