
/* === GENERALL RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden; /* Verhindert horizontales Scrollen */
    width: 100%;
}

body {
    font-family: "Andale Mono", sans-serif;
    background-color: #f0f2f5;
    color: #333;
    padding-top: 0 !important;
    line-height: 1.2;
}


.page-content {
    padding: 0 150px;
}

@media (max-width: 768px) {
    .page-content {
        padding: 0 20px; /* angenehme mobile Breite */
    }
}

/* === HEADER === */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
    max-width: 100%;
}

.header-logo img {
    height: 50px;
    width: auto;
    margin-top: 6px;
}

.header-actions {
    display: flex;
    align-items: center; /* 🔑 DAS zentriert alles vertikal */
    gap: 12px;
}

/* ==== Contact ===?*/
.contact-text{
    margin-top: 25px;
    text-align: center;
    display: none;
}

/* ==== LOGIN BOX ====*/
/* login-box */
.login-box {
    position: fixed;
    top: 60px; /* unter Header */
    right: 50px;
    background: white;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 3200 !important;
}
.login-box input {
    display: block;
    width: 202px;
    margin-bottom: 10px;
    padding: 6px;
}
.login-box button {
    padding: 6px 12px;
    background-color: #9ec462;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}


/* === LANGUAGE DROPDOWN === */
.language-dropdown {
    position: relative;
    display: inline-block;
    z-index: 3200 !important;
}
.lang-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px; cursor: pointer;
    color: #333; display: flex;
    align-items: center; gap: 6px;
    line-height: 1; height: 32px;
}

.lang-toggle:hover {
    background-color: #f0f0f0;
}

/* MENU HIDDEN (STANDART)*/
.lang-menu {
    position: fixed;
    top: 60px;
    right: 50px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    list-style: none;
    padding: 6px 0; min-width: 150px;
    z-index: 3200 !important; opacity: 0;
    visibility: hidden;;
    transition: opacity 0.8s, visibility 0.2s, transform 0.2s;

}


.lang-menu li {
    margin: 0;
}
.lang-menu a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    align-items: center;
    gap: 8px;
}
.lang-menu a:hover {
    background-color: #f5f5f5;
}

/* MENU VISIBLE WHEN OPEN */
.lang-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* === HEADER ICONS === */
.header-icon-transition {
    display: block;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: transform 0.4s ease, background 0.4s;
}

.cart-icon {
    padding: 0;
    background: none;
    border: none;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-icon:hover {
    background-color: #f5f5f5;
    color: #2c3e50;
    transform: scale(1.2);

}

.cart-icon img {
    width: 20px;
    height: auto;
    display: block;
}


/* === SIDEBAR === */
.sidebar {
    padding-top: 20px;
    padding-bottom: 20px;
    margin-top: 15px;
    margin-bottom: 60px;
    position: fixed!important;
    top: 60px;
    bottom: 60px;
    left: 0;
    width: 40px;
    background-color: #9ec462 !important;
    transition: width 0.4s ease;
    color: white;
    overflow: hidden;
    z-index: 50 !important;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Desktop: Hover öffnet Sidebar */
.sidebar:hover {
    width: 140px;
}

.sidebar-menu {
    list-style: none;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}
/* Desktop */
@media (min-width: 769px) {
    .sidebar:hover .sidebar-menu {
        opacity: 1;
        visibility: visible;
    }
}

/* Sidebar Links */
.sidebar-menu li {
    margin-bottom: 12px;
}

.sidebar-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 8px 0;
    transition: color 0.2s;
    visibility: hidden;
}

.sidebar-menu a:hover {
    color: #333;
}

.sidebar.open .sidebar-menu a { 
    visibility: visible; 
    color: white !important;
}

.sidebar:hover .sidebar-menu a {
    visibility: visible;
}


@media (max-width: 768px) {

    .sidebar {
        overflow: visible !important;
        position: fixed !important;
        top: 60px !important;
	bottom: auto !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 10px 15px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    	z-index: 900 !important;
	
    }

    /* WICHTIG: Hover komplett deaktivieren */
    .sidebar:hover {
        width: 100% !important;
    }

    .sidebar:hover .sidebar-menu {
        opacity: 0 !important;
        visibility: hidden !important;
    }
    /* Mobile: Menü standardmäßig versteckt */
    .sidebar-menu {
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    /* Mobile: Menü sichtbar wenn .open */
    .sidebar.open .sidebar-menu {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 15px 0;
	color: white !important;
	z-index: 3000 !important;
    }
	

    /* Mobile: größere Links */
    .sidebar-menu a {
        padding: 12px 0;
        font-size: 18px;
	visibility: visible !important;
    }
    .sidebar:hover .sidebar-menu a { 
	visibility: visible; 
    }

    .sidebar.open .sidebar-menu a { 
	visibility: visible; 
        color: white !important;
    }
    .toggle-symbol {
        position: relative;
        z-index: 10; /* niedrig halten */
    }

}











/* === MAINCONTENT === */
.content {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: none;
}

@media (max-width: 768px) {
    .content {
        padding: 0 20px;
    }
}


/* === FULLWIDTH CONTAINER PICTURES === */
.fullwidth-container {
    position: relative;
    width: 100vw;
    height: 70vh;
    max-height: 800px;
    overflow: hidden;
    left: 50%;
    margin-left: -50vw;
}

.fullwidth-container .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow 36s infinite;
}


/* Timing pro Bild */
.fullwidth-container .slide:nth-child(1) { animation-delay: 0s; }
.fullwidth-container .slide:nth-child(2) { animation-delay: 6s; }
.fullwidth-container .slide:nth-child(3) { animation-delay: 12s; }
.fullwidth-container .slide:nth-child(4) { animation-delay: 18s; }
.fullwidth-container .slide:nth-child(5) { animation-delay: 24s; }
.fullwidth-container .slide:nth-child(6) { animation-delay: 30s; }


@keyframes slideshow {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    25%  { opacity: 1; }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}


@media (max-width: 768px) {
    .fullwidth-container .slide {
        object-fit: contain;
        background-color: #000;
    }
}

/* ---- About us Seite ---*/


.fullwidth-container-medall {
    position: relative;
    width: 100vw;
    height: 70vh;
    max-height: 800px;
    overflow: hidden;
    left: 50%;
    margin-left: -50vw;
}

.fullwidth-container-medall .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: slideshow 24s infinite;
}



/* Timing pro Bild */
.fullwidth-container-medall .slide:nth-child(1) { animation-delay: 0s; }
.fullwidth-container-medall .slide:nth-child(2) { animation-delay: 6s; }
.fullwidth-container-medall .slide:nth-child(3) { animation-delay: 12s; }
.fullwidth-container-medall .slide:nth-child(4) { animation-delay: 18s; }
.fullwidth-container-medall .slide:nth-child(5) { animation-delay: 24s; }
.fullwidth-container-medall .slide:nth-child(6) { animation-delay: 30s; }

@keyframes slideshow {
    0%   { opacity: 0; }
    8%   { opacity: 1; }
    25%  { opacity: 1; }
    33%  { opacity: 0; }
    100% { opacity: 0; }
}


@media (max-width: 768px) {
    .fullwidth-container-medall .slide {
        object-fit: contain;
        background-color: #000;
    }
}





/* === Titel === */
.title-mainpage h2 {
    margin: 40px 0;
}

.title-mainpage h4 {
    margin-bottom: 40px;
}

.text-introduction {
    margin: 30px 0;
    border-radius: 6px;
    background-color: #f9f9f9;
    padding: 15px 15px;
    border-style: solid;
    border-color: darkgray;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-align: center !important;
}


/* === MAINPAGE TRIPLE TEXT nebeneinander === */
.text-triplet {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 30px 0;
    border-radius: 6px;
    background-color: #f9f9f9;
    padding: 15px 15px;
    border-style: solid;
    border-color: darkgray;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.text-item-center {
    flex: 1;
    padding: 15px 15px;
    text-align: center;
    margin: 0 10px;
    max-width: 300px;
}

.text-item-left {
    text-align: center;
    max-width: 300px;
}

.text-item-right {
    text-align: center;
    max-width: 300px;

}

.textbox-logo {
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    margin-bottom: 5px;
}
.textbox-logo img {
    width: 30px;
    height: auto;
}




/* ==== PARALLAX MIDDLE SECTION ==== */

.parallax-section {
    height: 400px;
    margin: 40px 0;
    border-radius: 0;
}

/* ==== SUPPORT SECTION ====*/
.support-wrapper {
    display: flex;
    justify-content: center;   /* horizontale Zentrierung */
    flex-wrap: wrap;           /* wichtig für Mobile */
}

.support-section h2 {
    margin: 15px 0;
}

.support-klasse{
    margin: 15px 0;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-style: solid;
    border-color: darkgray;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.support-klasse-ohne-border{
    margin: 15px 0;
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 6px;
    text-decoration: none;
}

.support-content {
    text-align: center;
    text-decoration: none;
}

.support-logo{
    margin: 5px 5px;
}

.support_image{
    object-fit: contain;
    max-height: 200px;
    width: auto;
    border-radius: 6px;


}

.support-info h3 {
    margin-top: 0;
    color: darkgray;
}
.support-info {
    margin: 10px 10px;
    padding: 10px;

}

.auto-carousel {
    overflow: hidden;
    width: 90%;
    margin: 40px auto;
    box-sizing: border-box;
}

.carousel-track {
    display: flex;
    width: fit-content;          /* WICHTIG */
    animation: scroll-carousel 30s linear infinite;
}


.carousel-item {
    flex: 0 0 auto;          /* feste Breite, keine Flex-Anpassung */
    width: 200px;
    margin-right: 10px;
}

.carousel-item img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

@keyframes scroll-carousel {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}


/* Responsive Anpassung */
@media (max-width: 768px) {
    .carousel-item { width: 150px; }
}

@media (max-width: 480px) {
    .carousel-item { width: 120px; }
}


.qr-container {
    margin: 15px 0;

    padding: 20px;


}

.qr-code-container{
    margin: auto auto;


}
.qr-code {
    background-color: white;
    border-style: solid;
    border-color: darkgray;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 5px 5px;
    object-fit: contain;
    max-height: 200px;
    width: auto;
}
        /*------- !!!=======ABOUT_US PAGES========!!! ------*/


/*==== TEAM MEMBER SECTION ====*/
.team-member{
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background-color: whitesmoke;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin: 15px 0;
}
.member-photo {
    margin-right: 30px;
    flex-shrink: 0;
}

.member-image{
    height: 180px;
    width: 130px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.member-info h3{
    margin-top: 0;
    color: darkgray;
    margin-bottom: 12px;
}

.member-info p {
    line-height: 1.2;
    color: black;
}

/*==== Partner sparte ==== */

/* PARTNER SECTION */
.partner-section h2 {
    margin: 15px 0;
}


.partner {
    margin: 15px 0;
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;

    border-color: darkgray;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    text-decoration: none;
}

.partner-content {
    text-align: center;
    text-decoration: none;
}

.partner-logo{
    margin: 10px 10px;
}

.partner-image{
    object-fit: contain;
    height: 120px;
    width: auto;
    border-radius: 4px;
}

.partner-info h3 {
    margin-top: 0;
    color: darkgray;
    margin-bottom: 12px;
}
.partner-info {
    margin: 10px 10px;
    padding: 10px;
}

.facebook-button{
    font-family: "Facebook Letter Faces";
    border: black  ;
    border-radius: 6px;
    background-color:#4267B2;
    color: #f9f9f9;
    padding: 0 4px;
    padding-top: 4px;
    text-decoration: none;
}

.partner-button{
    font-family: "Andale Mono", sans-serif;
    background-color: slategrey;
    text-decoration: none;
    color: white;
    border-radius: 6px;
    padding: 0 2px;
}


/* ==== FOOTER ==== */

.site-footer {
    border-top: 2px solid #ccc;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px ;
    font-size: 8px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.footer-address {
    justify-items: left;
    max-width: 300px;
}

.footer-agbs{
    justify-content: center;
    align-content: center;
    font-size: 18px;
    position: relative;
    display: flex;
    justify-items: center;
}

.footer-copyrightholder {
    text-align: left;
    max-width: 290px;
}


@media (max-width: 768px) {
    .sidebar {
        background: purple !important;
    }
}



.sidebar.open {
    border: 5px solid red !important;
}
