



/* Menü-Button */
#menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}



/* Menü schließen */
#close-menu {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
}

/* Menü Container */
#menu-container {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
    max-height: 100%;
}

/* Scrollbar-Styling für Webkit-Browser */
#menu-container::-webkit-scrollbar {
    width: 8px;
}

#menu-container::-webkit-scrollbar-thumb {
    background: #136ca2;
    border-radius: 4px;
}

.menu-headline {
	font-weight: bold;
	font-size: 1.2rem;
	color: white;
	padding: 10px 5px;
	border-bottom: 1px solid #ccc;
	background-color: #0f5a88;
	
}

.menu-headline:hover {
	background-color: #0f5a88;  /*bleibt gleich */
	color: white; /* bleibt gleich */
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list a {
    color: white !important;         /* Linkfarbe auf weiß setzen */
    text-decoration: none !important; /* Unterstreichung entfernen */
}

.menu-list a:hover {
    opacity: 0.8;
}

.menu-list li {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid white;
}

.menu-list li:hover {
    color: white;
	background: #0f5a88;
    transition: background 0.3s ease-in-out;
}



/* Standard-Styles für alle Menüs */
.menu-box {
	z-index: 11150; 
    position: fixed;
    background: #136ca2;
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
}




/* Floating Menu Button */
#btn-container {
	position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 9999;
    background-color: #136ca2;
    padding: 6px;
    border-radius: 40px;
}

#btn-container button {
	position: relative;
	width: 60px;
    height: 60px;
    border-radius: 50%;
    /*background: #007bff;*/
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    /* overflow: hidden;*/
}

#btn-button img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 55px;
    height: 60px;
    transform: translate(-50%, -50%);
    transform-origin: center center;
    object-fit: contain;
    pointer-events: none;
    transition: transform 1.6s ease-out;
}


#btn-button img.spin-effect {
    transform: translate(-50%, -50%) rotate(1080deg); /* kombiniere Translation + Rotation */
}


#btn-container button:hover {
    background-color: #0056b3;
}

#calendar-button {
    position: relative;
    width: 60px !important;
    height: 60px !important;
    padding: 0;
    background-color: #f26122 !important;
    border: none;
    border-radius: 0% !important;
    overflow: visible;
    display: flex
;
    justify-content: center;
    align-items: center;
    /* border-top-right-radius: 0px !important; */
    /* border-bottom-right-radius: 0px !important; */
}

#calendar-button img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px; /* oder größer */
  height: 60px;
  transform: translate(-50%, -50%);
  object-fit: contain;
  pointer-events: none; /* optional: lässt Klicks durch */
}



#btn-button {
    /*display: block;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, #f26122, #d9541c);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;*/
}

/* Hover-Effekt für Buttons */
#btn-button:hover {
    /*background: #d9541c;*/
}

/* Floating Menu Container */
#btn-menu {
    display: none;
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: white;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.3);
    border-radius: 5px;
    padding: 10px;
    z-index: 999;
}

/* Floating Menu List */
#btn-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Floating Menu Items */
#btn-menu li {
    margin: 5px 0;
}

/* Floating Menu Links */
#btn-menu a {
    text-decoration: none;
    color: #136ca2;
    display: flex;
    align-items: center;
    padding: 5px 10px;
}

/* Floating Menu Icon Circles */
.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #136ca2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.circle i {
    font-size: 18px;
}

/* Floating Menu Text */
#btn-menu a span {
    font-size: 14px;
    color: #136ca2;
}


/* verbs */

/* Schatten für Boxen */
.menu-box, #btn-menu {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Glattere Animationen */
.menu-box, .menu-list li, #btn-button {
    transition: all 0.3s ease-in-out;
}


.menu-box #close{
	background-color: #f26122;
    border: 0px;
    padding: 10px;
    /* border: 1px solid white; */
    color: white;
    cursor: pointer;
}

.menu-box .content{
	/*margin-top: 40px;*/
}




/* Mobile (bis 767px) */
@media (max-width: 767px) {


.menu-text {
        display: none;
    }

.menu-box {
        width: 100%;
        height: 90%;
        bottom: 0;
        top: auto;
        transform: translateY(100%);
		z-index: 111111112;
    }

    .menu-box.active {
        transform: translateY(0);
    }


.menu-box.bottom {
        position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 90vh; /* Damit es nicht den ganzen Bildschirm einnimmt */
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    overflow: hidden;
    z-index: 999;
    }

    /* Menübox bleibt unten fixiert */
.menu-box.bottom {
    position: fixed;
        bottom: 0;
        left: 0%;
        width: 100%;
        max-height: 90vh;
        background: #0f5a88;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
        overflow: hidden;
        z-index: 1150;
}

/* Aktiviert die Box */
.menu-box.bottom.active {
    transform: translateY(0);
}

/* Der `.content`-Container wird scrollbar, falls nötig */
.menu-box.bottom .content {
    max-height: 80vh; /* Maximale Höhe des Inhalts */
    overflow-y: auto; /* Scrollbar nur, wenn nötig */
    padding: 15px;
}

/* Styling für die Scrollbar */
.menu-box.bottom .content::-webkit-scrollbar {
    width: 6px;
}

.menu-box.bottom .content::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 3px;
}

.menu-box.bottom .content::-webkit-scrollbar-track {
    background: #f5f5f5;
}
	

	
}


/* Tablets (768px bis 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {



.menu-box.left {
        padding-top: 0px;
        left: 0;
        top: 0px;
        width: 300px;
        transform: translateX(-100%);
        height: calc(100vh - 0px);
    }

    .menu-box.left.active {
        transform: translateX(0);
    }
	
	.menu-box.right {
		right: 0;
		top: 0;
		width: 300px;
		height: 100vh;
		transform: translateX(100%);
		position: fixed;
	}

	.menu-box.right.active {
		transform: translateX(0);
	}


    .menu-box.bottom {
        position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 90vh; /* Damit es nicht den ganzen Bildschirm einnimmt */
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    overflow: hidden;
    z-index: 999;
    }

    /* Menübox bleibt unten fixiert */
.menu-box.bottom {
    position: fixed;
        bottom: 0;
        left: 5%;
        width: 90%;
        max-height: 90vh;
        background: #0f5a88;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
        overflow: hidden;
        z-index: 1150;
}

/* Aktiviert die Box */
.menu-box.bottom.active {
    transform: translateY(0);
}

/* Der `.content`-Container wird scrollbar, falls nötig */
.menu-box.bottom .content {
    max-height: 80vh; /* Maximale Höhe des Inhalts */
    overflow-y: auto; /* Scrollbar nur, wenn nötig */
    padding: 15px;
}

/* Styling für die Scrollbar */
.menu-box.bottom .content::-webkit-scrollbar {
    width: 6px;
}

.menu-box.bottom .content::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 3px;
}

.menu-box.bottom .content::-webkit-scrollbar-track {
    background: #f5f5f5;
}

}



/* Desktop (ab 1025px) */
@media (min-width: 1025px) {
	
	
.menu-box.left {
        padding-top: 0px;
        left: 0;
        top: 0px;
        width: 300px;
        transform: translateX(-100%);
        height: calc(100vh - 0px);
    }

    .menu-box.left.active {
        transform: translateX(0);
    }
	
	.menu-box.right {
		right: 0;
		top: 0;
		width: 300px;
		height: 100vh;
		transform: translateX(100%);
		position: fixed;
	}

	.menu-box.right.active {
		transform: translateX(0);
	}


    .menu-box.bottom {
        position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 90vh; /* Damit es nicht den ganzen Bildschirm einnimmt */
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    overflow: hidden;
    z-index: 999;
    }

    /* Menübox bleibt unten fixiert */
.menu-box.bottom {
    position: fixed;
        bottom: 0;
        left: 5%;
        width: 90%;
	height: 100%;
        max-height: 90vh;
        background: #0f5a88;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
        overflow: hidden;
        z-index: 1150;
}

/* Aktiviert die Box */
.menu-box.bottom.active {
    transform: translateY(0);
}

/* Der `.content`-Container wird scrollbar, falls nötig */
.menu-box.bottom .content {
    max-height: 80vh; /* Maximale Höhe des Inhalts */
    overflow-y: auto; /* Scrollbar nur, wenn nötig */
    padding: 15px;
}

/* Styling für die Scrollbar */
.menu-box.bottom .content::-webkit-scrollbar {
    width: 6px;
}

.menu-box.bottom .content::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 3px;
}

.menu-box.bottom .content::-webkit-scrollbar-track {
    background: #f5f5f5;
}
	
	
}








.language-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    width: calc(100% - 30px);
    padding: 15px;
}

.language-item {
    display: flex;
    align-items: center;
    width: calc(25% - 12px); /* 4 Spalten auf großen Bildschirmen */
    min-width: 234px;
    max-width: 300px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
}

.language-item:hover {
    background: #f9f9f9;
    transform: scale(1.05);
    border-color: #ccc;
}

.flag-icon {
    width: 40px;
    height: 28px;
    margin-right: 14px;
    border-radius: 3px;
}

.language-text {
    font-size: 17px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .language-item {
        width: calc(33.333% - 12px); /* 3 Spalten */
    }
}

@media (max-width: 900px) {
    .language-item {
        width: calc(50% - 12px); /* 2 Spalten */
    }
}

@media (max-width: 600px) {
    .language-item {
        width: 100%; /* Volle Breite auf kleineren Geräten */
    }
}


.favorites-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.favorites-list li {
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #f9f9f9;
    border-left: 4px solid #4CAF50;
    font-size: 15px;
    transition: background-color 0.3s ease, color 0.3s ease, border-left-color 0.3s ease;
}

.favorites-list li a.favorite-link {
    color: #333;
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: color 0.3s ease;
}

.favorites-list li:hover {
    background-color: #0f5a88;
    color: white;
    border-left-color: #ffcc00;
}

.favorites-list li:hover a.favorite-link {
    color: white;
}

.no-favorites,
.error {
    padding: 12px;
    text-align: center;
    color: white;
    font-style: italic;
}



.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 60vh;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #ccc transparent;
}

.news-list li {
    padding: 12px 16px;
    margin: 8px 0;
    background: #f7f7f7;
    border-left: 4px solid #4CAF50;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, color 0.3s ease, border-left-color 0.3s ease;
}

.news-list li a.news-link {
    color: #222;
    text-decoration: none;
    display: block;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-list li:hover {
    background-color: #0f5a88;
    border-left-color: #ffcc00;
    color: #fff;
}

.news-list li:hover a.news-link {
    color: #fff;
}

.news-list li a.news-link h4 {
    margin: 0 0 5px;
    font-size: 17px;
}

.news-list li a.news-link p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.news-list li:hover a.news-link p {
    color: #ddd;
}

.no-news,
.error {
    padding: 14px;
    text-align: center;
    color: #fff;
    font-style: italic;
    background: #c0392b;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 15px;
}

.news-list li .published-at {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.news-list li:hover .published-at {
    color: #ccc;
}

.news-footer {
    text-align: center;
    padding: 15px 10px 20px;
    border-top: 1px solid #ccc;
}

.btn-news-overview {
    display: inline-block;
    padding: 8px 18px;
    background-color: #0f5a88;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-news-overview:hover {
    background-color: #09406b;
}





