.hero {
    height: 70vh;
    background: url('/theme/images/kornblume1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 20px;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

/* Startzustand: oben außerhalb des Bildschirms */
.logout-banner {
    position: absolute;        /* über dem Hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;             /* ganz oben */

    padding: 14px 20px;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;

    /* Glass-Effekt */
    background: rgba(0, 180, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(0, 180, 0, 0.35);
    color: #0f4d0f;

    /* Animation Startzustand */
    transform: translateY(-100%);
    opacity: 0;
    animation: slideIn 0.6s ease forwards;
}
.logout-banner::before {
    content: "";
    width: 32px;
    height: 32px;
    background-image: url('/theme/images/information.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* Startzustand: oben außerhalb des Bildschirms */
.top-error-banner {
    position: absolute;        /* über dem Hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;             /* ganz oben */

    padding: 14px 20px;
    font-size: 1rem;
    text-align: center;
    box-sizing: border-box;

    /* Glass-Effekt */
    background: rgba(255, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255, 0, 0, 0.35);
    color: #7a1f1f;

    /* Animation Startzustand */
    transform: translateY(-100%);
    opacity: 0;
    animation: slideIn 0.6s ease forwards;
}
.top-error-banner::before {
    content: "";
    width: 32px;
    height: 32px;
    background-image: url('/theme/images/information.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

/* Slide-In Animation */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Slide-Out Animation */
@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 50vh;
        padding: 20px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }
}
