:root {
    --main-brand-color: #ff4500;
    --primary-color: #15171C;
    --secondery-color: #232933;
    --light-secondery-color: #2E3744;
    --text-color: white;
    --secondary-text-color: #B3B4B6;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1rem;
    margin: 1rem auto;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    /* Fixiert den Header am oberen Rand des Fensters */
    top: 0;
    /* Setzt den Header ganz nach oben */
    left: 0;
    /* Sorgt für eine vollständige Breite */
    width: 100%;
    /* Sorgt dafür, dass der Header die gesamte Breite einnimmt */
    z-index: 1000;
    /* Stellt sicher, dass der Header über anderen Elementen liegt */
    box-shadow: 0 1px 4px var(--secondery-color);
    /* Schatten am Header optional*/
}

.header-content {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    text-align: center;
}

.logo-container img {
    height: 40px;
    width: 200px;
    border-radius: 2%;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin: 0 10px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

nav ul li a:hover {
    text-decoration: underline;
}

nav ul li.current a {
    text-decoration: underline;
}

.language-selector {
    display: flex;
    /* oder 'block', je nach bevorzugtem Layout */
    justify-content: center;
    margin-top: 5px;
    /* Abstand zum Hamburger-Button */
}

.language-selector a {
    color: white;
    padding: 0 10px;
    text-decoration: none;
}

.language-selector a:hover {
    text-decoration: underline;
}

nav ul li.cta {
    margin-left: 20px;
}

nav ul li.cta a {
    background-color: var(--main-brand-color);
    color: white;
    padding: 7px 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

nav ul li.cta a:hover {
    background-color: #ffbd59;
}


/* Stil für den Toggle-Button */

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}


/* Stil für die Balken des Hamburger-Icons */

.nav-toggle .bar {
    display: block;
    width: 25px;
    /* Breite der Balken */
    height: 3px;
    /* Höhe der Balken */
    margin: 5px auto;
    /* Abstand zwischen den Balken */
    background-color: white;
    /* Farbe der Balken */
    transition: all 0.3s ease;
}


/* Styles, wenn das Menü geöffnet ist (X-Icon) */

.nav-toggle.menu-open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.menu-open .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.menu-open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* Responsive Anpassungen */

@media (max-width: 945px) {
    .nav-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        font-size: 1rem;
    }
    nav ul li {
        text-align: center;
        margin: 10px 0;
    }
    nav ul li a {
        display: block;
        padding: 1px;
        width: 100%;
        text-align: start;
    }
    nav ul.showing {
        display: block;
    }
    .language-selector a {
        display: block;
        padding: 5px 10px;
    }
    .language-selector,
    nav ul.showing+.language-selector {
        display: block;
    }
    .nav ul li.cta {
        display: none;
        /* Verbergen Sie die Sprachauswahl auf kleinen Bildschirmen */
    }
    .logo-container img {
        height: 30px;
        /* Verkleinerte Höhe */
        width: 150px;
        /* Verkleinerte Breite */
    }
}


/* Stil für den Call to Action auf größeren Bildschirmen */

@media (max-width: 1100px) {
    nav ul li.cta {
        display: none;
        /* Verbirgt den Call-to-Action-Link */
    }
}

body {
    padding-top: 10px;
    /* Um den fixierten Header zu berücksichtigen */
}


/* Gestaltung Main */

.privacy-policy-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.privacy-policy-section h1 {
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.privacy-policy-section p {
    color: #545454;
    margin-bottom: 15px;
    text-align: justify;
    line-height: 1.6;
}

.data-protection-cta {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: orangered;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.data-protection-cta:hover {
    background-color: #ffbd59;
}


/* Responsives Styling für mittelgroße Bildschirme */

@media (max-width: 992px) {
    .privacy-policy-section {
        padding: 20px 15px;
        /* Etwas weniger Padding */
    }
}


/* Responsives Styling für kleine Bildschirme */

@media (max-width: 768px) {
    .privacy-policy-section {
        padding: 15px;
        /* Noch weniger Padding */
    }
    .privacy-policy-section h1 {
        font-size: 1.5rem;
        /* Kleinere Schriftgröße für Überschriften */
    }
    .privacy-policy-section p {
        text-align: left;
        /* Auf kleinen Bildschirmen, Blocksatz entfernen */
    }
}


/* Responsives Styling für sehr kleine Bildschirme */

@media (max-width: 576px) {
    .privacy-policy-section {
        margin: 20px 10px;
        /* Reduziert den seitlichen Abstand */
    }
    .privacy-policy-section h1 {
        font-size: 1.4rem;
        /* Noch kleinere Schriftgröße für Überschriften */
    }
}


/*Gestaltung von service quality*/

#quality-service {
    text-align: center;
    color: #545454;
    padding: 40px;
}

#quality-service h1 {
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.service-container {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.service-item {
    width: calc(33.333% - 20px);
    margin: 0 10px;
}

.service-item .icon {
    max-width: 100%;
    /* Stellt sicher, dass das Icon nicht größer als der Container ist */
    height: auto;
    margin-bottom: 10px;
    /* Fügt Abstand unter dem Icon hinzu */
    border-radius: 50%;
}

.service-item h2 {
    margin-top: 10px;
    font-size: 1.3rem;
}

.service-item p {
    margin-top: 5px;
}

.cta-button {
    background-color: orangered;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    /* Fügt Abstand über dem Button hinzu */
    font-size: 1rem;
    border-radius: 5%;
}

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


/* Responsive Design */

@media screen and (max-width: 768px) {
    .service-container {
        flex-direction: column;
    }
    .service-item {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Gestaltung footer */

footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 3rem 0;
    margin-bottom: 0;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.25rem;
    display: block;
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.language-selection_footer a {
    margin: 0 5px;
}

.language-selection_footer img {
    height: 30px;
    /* Passt die Größe der Flaggen an */
    width: auto;
    /* Optional: Abgerundete Ecken */
    margin-top: 18px;
}


/* Responsive Design Anpassungen */

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        /* Reduzierung des Abstands zwischen den Abschnitten */
    }
    .footer-section {
        margin-bottom: 0.1rem;
    }
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

@media (max-width: 900px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.25rem;
    }
    p {
        font-size: 1rem;
    }
    .footer-section p {
        font-size: 1rem;
    }
}