/* CSS for SARL FRORDI */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    margin-bottom: 100px;
    margin-top: 20px
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 60px;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 200%;
}

/* ######################################################### */
/* Links                                                     */
/* ######################################################### */

a {
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #007bff;
}

a:visited {
    color: inherit; /* Beibehaltung der Schriftfarbe für besuchte Links */
}

/* ######################################################### */
/* Header Styles                                             */
/* ######################################################### */

header {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    position: fixed; /* Ändert die Position zu fixiert */
    top: 0; /* Fixiert den Header am oberen Rand */
    left: 0;
    width: 100%; /* Der Header soll die gesamte Breite einnehmen */
    z-index: 1000; /* Damit er immer im Vordergrund bleibt */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* Optional: Schatten für visuelle Trennung */
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

header nav a:hover {
    text-decoration: underline;
    color: #007bff;
}

.menu {
    display: flex;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
}

/* Hidden Navigation for Mobile */
.menu.hidden {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #333;
}

.menu.hidden a {
    margin: 10px 0;
    text-align: center;
}

/* ######################################################### */
/* Content-Boxes */
/* ######################################################### */

.content-container {
    display: flex;
    flex-direction: column; /* Vertikale Anordnung */
    align-items: flex-start; /* Links ausrichten innerhalb des Containers */
    justify-content: center; /* Falls der Container eine Höhe hat */
    width: fit-content; /* Passt sich der Breite der Boxen an */
    margin: 0 auto; /* Zentriert den Container horizontal */
    padding: 20px;
  }

.content-box-full-width-image {
    width: 100%;
    min-height: 300px;
    height: auto;
    margin-bottom: 20px;
    position: relative;
}

.content-box-full-width-image img {
    min-height: 100%;
    max-height: 500px;
    object-fit: cover;
}

.content-box {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.content-box-map {
    text-align: center;
    padding: 20px;
}

.content-box-map button{
    padding: 10px 20px;
    background-color:#007bff;
    color: #fff;
    border: none;
    cursor: pointer;
}

.text-column p {
    padding-bottom: 20px;
    max-width: 700px;
}

.text-column-left p {
    padding-bottom: 20px;
    max-width: 300px;
}

.text-column-right p {
    padding-bottom: 20px;
    max-width: 300px;
}

/* ######################################################### */
/* Content Bilder */
/* ######################################################### */

.image-column {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    animation: slideInFromLeft 1s ease-out;
}

/* Limiting Image Size */
.image-column img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-bottom: 10px;
}

.image-column img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.center-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.overlay-content {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}

.content-hidden {
    display: none;
}

/* ######################################################### */
/* emplois-Bereich                                               */
/* ######################################################### */

.emplois-right p {
    padding-top: 10px;
    max-width: 500px;
}

.emplois-right ul {
    list-style-type: none;
}

.emplois-right li {
    margin-left: 20px;
}

/* ######################################################### */
/* FAQ-Bereich                                               */
/* ######################################################### */

.faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    margin: auto;
}

/* Styling für Themen */
.topic {
    width: 100%;
    margin-bottom: 15px;
}

.topic-label {
    display: block;
    background: #bbb;
    padding: 12px;
    cursor: pointer;
    text-align: center;
    font-weight: bold;
}

.topic-label:hover {
    background: #aaa;
}

.topic-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.text-column p {
    padding-bottom: 20px;
    max-width: 700px;
}

.topic-content p {
    padding-bottom: 20px;
}

input:checked + .topic-label + .topic-content {
    max-height: 5000px; /* Sollte groß genug für Inhalte sein */
}
/* Styling für FAQs */

.faq {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    width: 100%;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 10px;
    text-align: left;
}

input:checked + label + .faq-content {
    max-height: 5000px;
    padding: 10px;
}

label {
    display: block;
    background: #ddd;
    padding: 10px;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

label:hover {
    background: #ccc;
}


/* ######################################################### */
/* contact page                                              */
/* ######################################################### */
#maps-links li {
    list-style-type: none;
    margin-bottom: 10px;
}

#maps-links img {
    border-radius: 5px; /* Optional: Runde Ecken für die Logos */
    transition: transform 0.2s ease;
}

#maps-links img:hover {
    transform: scale(1.1); /* Vergrößert das Logo leicht beim Hover */
}

#maps-links a {
    text-decoration: none;
    transition: all 0.3s ease;
}

#maps-links a:hover {
    text-decoration: underline;
    color: #007bff;
}

/* ######################################################### */
/* Footer                                                    */
/* ######################################################### */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    text-decoration: underline;
    color: #007bff;
}

/* ######################################################### */
/* Responsive Design                                         */
/* ######################################################### */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #333;
    }

    .menu.hidden {
        display: flex;
    }
    
    .menu a {
        margin: 10px 0;
        text-align: center;
    }

    .image-column {
        display: none;
    }
}

/* ######################################################### */
/* slide in effect                                           */
/* ######################################################### */

.text-column-left {
    animation: slideInFromLeft 1s ease-out;
}

.text-column-right {
    animation: slideInFromRight 1s ease-out;
}

.emplois-right {
    animation: slideInFromRight 1s ease-out;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}