/* Grundlegendes Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #002060;
    color: white;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2.5em;
    margin: 0;
    font-weight: bold;
    text-align: center;
}

h1 span {
    display: inline-block;
}

h1 .stock {
    color: red;
}

h1 .welt {
    color: orange;
}

/* Sprache-Auswahl Styling */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-selector select {
    padding: 8px 12px;
    font-size: 1em;
    border: 2px solid orange;
    border-radius: 5px;
    background-color: #002060; /* Gleiche Farbe wie der Header */
    color: white;
    cursor: pointer;
}

.language-selector select:hover {
    background-color: orange; /* Farbe beim Hover */
    color: #002060;
    border-color: #fff;
}

.language-selector select option {
    color: #333; /* Standardfarbe für Dropdown-Optionen */
    background-color: white;
}


/* Kontaktbereich */
.contact-section {
    background-color: #002060;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-section div {
    margin: 0 10px;
}

.contact-section a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contact-section a img {
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Bilderbereich */
.image-section {
    margin: 20px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Bilder passen sich an die Bildschirmbreite an */
    gap: 20px; /* Abstand zwischen den Bildern */
    width: 90%;
}

.image-container img {
    width: 100%; /* Bilder passen sich automatisch an */
    aspect-ratio: 3 / 4; /* Seitenverhältnis 3:4 */
    object-fit: cover; /* Bilder füllen den Container */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.image-container img:hover {
    transform: scale(1.05);
}

/* Über uns & Presentation */
#about {
    margin: 20px auto;
    width: 70%; /* 70% Breite für den Inhalt */
    padding: 20px;
    text-align: justify;
    line-height: 1.6;
}

.content {
    margin-left: 15%; /* 15% Abstand links */
    margin-right: 15%; /* 15% Abstand rechts */
    padding: 10px;
}

.content div {
    margin-bottom: 20px;
}

.content h2 {
    font-size: 1.8em;
    color: #002060;
    margin-bottom: 10px;
}

/* Footer Styling */
.footer-section {
    background-color: #002060;
    color: white;
    text-align: center;
    padding: 20px 10px;
}

.footer-section h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: orange;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    text-align: left;
}

.footer-column {
    flex: 1;
}

.footer-column p {
    margin: 5px 0;
    font-size: 0.9em;
}

.footer-column.center {
    text-align: center;
}

.footer-column.right {
    text-align: right;
}

.footer-column a {
    color: orange;
    text-decoration: none;
}

.footer-column a:hover {
    text-decoration: underline;
}


/* Impressum-Bereich für Mobile */
.impressum-section {
    display: none; /* Standardmäßig unsichtbar */
    background-color: #002060;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 0.9em;
}

.impressum-section a {
    color: orange;
    text-decoration: none;
}

.impressum-section a:hover {
    text-decoration: underline;
}

/* Responsives Design */
@media (max-width: 768px) {
    .contact-section {
        display: none; /* Kontaktinformationen ausblenden */
    }

    .impressum-section {
        display: block; /* Impressum nur in der mobilen Ansicht sichtbar */
    }

    #about {
        width: 90%; /* In der mobilen Ansicht wird der Abstand angepasst */
        margin-left: 5%;
        margin-right: 5%;
    }
}


/* Cookie-Banner Styling */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #002060;
    color: white;
    padding: 15px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.cookie-content {
    width: 90%;
    text-align: center;
}

.cookie-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-buttons {
    margin-top: 10px;
}

.cookie-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    color: white;
    margin: 5px;
}

#accept-all {
    background-color: #28a745;
}

#save-selection {
    background-color: #ffc107;
}

/* Banner im Hintergrund */
#cookie-banner.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Standard Header-Anzeige (Desktop-Ansicht ab 1101px) */
header {
    background-color: #002060;
    color: white;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 2.5em; /* Standardgröße für große Bildschirme */
    margin: 0;
    font-weight: bold;
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
}

.language-selector select {
    padding: 8px 12px;
    font-size: 1em;
    border: 2px solid orange;
    border-radius: 5px;
    background-color: #002060; /* Gleiche Farbe wie der Header */
    color: white;
    cursor: pointer;
}

.language-selector select:hover {
    background-color: orange; /* Farbe beim Hover */
    color: #002060;
    border-color: #fff;
}

.language-selector select option {
    color: #333; /* Standardfarbe für Dropdown-Optionen */
    background-color: white;
}

/* Kontakt-Icons (ausgeblendet bei großen Bildschirmen) */
.contact-icons {
    display: none; /* Standardmäßig ausgeblendet */
    justify-content: space-between; /* Icons gleichmäßig verteilen */
    gap: 20px;
    margin-top: 10px;
}

.contact-icons a img {
    width: 32px; /* Icon-Größe */
    height: 32px;
    transition: transform 0.2s ease;
}

.contact-icons a img:hover {
    transform: scale(1.2); /* Vergrößerung beim Hovern */
}

/* Kontaktbereich */
.contact-section {
    background-color: #002060;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-section div {
    margin: 0 10px;
}

.contact-section a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.contact-section a img {
    margin-right: 5px;
    width: 16px;
    height: 16px;
}

.contact-section a:hover {
    text-decoration: underline;
}

/* Anpassungen für mittlere Bildschirme (unter 1101px) */
@media (max-width: 1100px) {
    .contact-section {
        display: none; /* Schriftliche Inhalte ausblenden */
    }

    .contact-icons {
        display: flex; /* Icons einblenden */
        justify-content: space-between; /* Links, Mitte, Rechts */
    }

    header {
        text-align: center;
        padding: 15px;
    }

    h1 {
        font-size: 2em; /* Leicht reduzierte Schriftgröße */
    }

    .language-selector {
        top: 15px;
        right: 15px;
    }

    .language-selector select {
        font-size: 0.9em;
        padding: 6px;
    }
}

/* Anpassungen für kleine Bildschirme (unter 768px) */
@media (max-width: 768px) {
    header {
        padding: 10px;
        text-align: center;
    }

    h1 {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .contact-icons {
        justify-content: center; /* Icons zentrieren */
        gap: 15px; /* Weniger Abstand zwischen den Icons */
    }

    .contact-icons a img {
        width: 28px; /* Kleinere Icons */
        height: 28px;
    }

    .language-selector {
        top: 10px;
        right: 10px;
    }

    .language-selector select {
        font-size: 0.8em;
        padding: 5px;
    }

    /* Footer: Mittig ausrichten */
    .footer-content {
        display: block; /* Elemente untereinander anordnen */
        text-align: center;
        padding: 10px;
    }

    .footer-column {
        margin-bottom: 15px;
    }

    .footer-column p,
    .footer-column a {
        text-align: center;
        margin: 5px 0;
    }
}
