/* ---------------------------------------------------
   GLOBAL
--------------------------------------------------- */

body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background-image: url("/images/Hintergrund.png");
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.echterinhalt {
    margin: 0 10%;
}

.main-text1 {
    font-size: 18px;
    text-align: center;
}

.main-text {
    font-size: 18px;
    text-align: justify;
}

.main-Subtitle {
    text-align: center;
    font-size: 36px;
    margin-top: 0;
}

/* Fokus sichtbar (Barrierefreiheit) */
a:focus,
button:focus {
    outline: 3px solid #007b55;
    outline-offset: 4px;
}

/* ---------------------------------------------------
   NEWS TICKER
--------------------------------------------------- */

.fancy-ticker-wrapper {
    background: linear-gradient(to left, #778A4A, #BBD087C4);
    color: #fff;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    padding: 10px 0;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.ticker-content {
    display: inline-block;
    animation: scroll-left 15s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* ---------------------------------------------------
   LOGO
--------------------------------------------------- */

.fixed-image-block {
    position: fixed;
    top: 5%;
    right: 2%;
    z-index: 1000;
}

.fixed-image-block img {
    max-width: 400px;
    height: auto;
}

/* ---------------------------------------------------
   CONTENT
--------------------------------------------------- */

.content {
    margin: 200px auto 0 auto;
    width: 50%;
    background: linear-gradient(to right, #8E9F62, #BBD087C4);
    padding: 40px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* ---------------------------------------------------
   NAVIGATION (DESKTOP)
--------------------------------------------------- */

.menu {
    position: fixed;
    top: 260px;
    right: 0;
    width: 18%;
    min-width: 150px;
    background: linear-gradient(to left, #778A4A, #BBD087C4);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 0;
    z-index: 1500;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: black;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(119, 138, 74);
}

.menu-item:hover,
.menu-item.active {
    background: rgba(119, 138, 74);
}

/* ---------------------------------------------------
   HAMBURGER BUTTON (MOBILE)
--------------------------------------------------- */

.hamburger {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
    color: #8C0C0C;
}

/* ---------------------------------------------------
   MOBILE MENU
--------------------------------------------------- */

@media (max-width: 768px) {

    .hamburger {
        display: block;
    }

    .menu {
        width: 70%;
        height: 100vh;
        top: 0;
        right: -100%;
        padding-top: 80px;
        transition: right 0.3s ease;
        background: linear-gradient(to left, #778A4A, #BBD087C4);
    }

    .menu.open {
        right: 0;
    }

    .content {
        width: 90%;
        margin-top: 150px;
        padding: 20px;
    }

    .fixed-image-block img {
        max-width: 150px;
    }
}

/* ---------------------------------------------------
   IMAGES
--------------------------------------------------- */

.responsive-image {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 25px 0;
}

.float-image {
    float: right;
    margin: 10px;
    max-width: 40%;
    height: auto;
}

/* ---------------------------------------------------
   FOOTER
--------------------------------------------------- */

footer {
    width: 100%;
    background: #778A4A;
    color: #FFF;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content a {
    color: #FFF;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-content .fab {
    font-size: 24px;
    color: #FFF;
    margin-right: 10px;
    transition: color 0.3s;
}

.footer-content a:hover .fab {
    color: #E1306C;
}
