/* === Basis & Theme === */
body {
    background-color: #0b0f19;
    font-family: Arial, Helvetica, sans-serif;
    color: white;
    margin: 0;
    padding: 0;
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

/* === Top Navigation Bar === */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
    box-sizing: border-box;

    background: rgba(11, 15, 25, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.top-nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.top-nav-siteTitle {
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
}

.top-nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.4rem;
    text-align: right;
    flex-shrink: 0;
}

.top-nav-right-top {
    font-size: 0.85rem;
}

.top-nav-right-top p {
    margin: 0;
    line-height: 1.3;
}

.top-nav-right-bottom {
    display: flex;
    gap: 0.5rem;
}

.top-nav a {
    color: #cfd8e3;
    text-decoration: none;
    padding: 0.45rem 0.9rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.top-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
}

/* === Hero Banner unter der Navbar === */
.top-nav-section {
    margin-top: 80px;
    width: 100%;
    min-height: 400px;
    background-image: url(../media/gsw.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* === Layout Container === */
.box {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    width: 95%;
    max-width: 1200px;
    margin: 2rem auto;
}

/* === Cards & Content Blöcke (Glassmorphism) === */
.news {
    flex: 0 0 65%;
    padding: 1.5rem 2rem;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.stufenbeitrag {
    flex: 1;
    padding: 1.5rem 2rem;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.minus-15,
.calendar {
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

/* Header & Typografie in den Blöcken */
.news-header,
.minus-15-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news h1,
.stufenbeitrag h1,
.minus-15 h1,
.calendar h1 {
    margin: 0;
    font-size: 1.5rem;
}

.news p,
.stufenbeitrag p,
.minus-15 p {
    margin: 0.5rem 0 0 0;
}

.news-update,
.explain-minus-15 {
    font-size: 0.8rem;
    font-style: italic;
    color: grey;
}

.news-header a,
.minus-15-header a,
.lk-actions a {
    display: inline-block;
    color: #cfd8e3;
    text-decoration: none;
    padding: 0.4rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.news-header a:hover,
.minus-15-header a:hover,
.lk-actions a:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
}

/* Spenden Grid-Container */
.minus-15 > .minus-15-lk-container {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 0;
}

.minus-15-lk {
    flex: 1 1 45%;
    border-radius: 12px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.minus-15-lk h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Kalender iFrame */
.calendar-content {
    width: 100%;
    height: 800px;
    border: none;
    border-radius: 10px;
}

/* Buttons */
.edit-btn {
    background-color: #1e90ff;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.edit-btn:hover {
    background-color: #0b6fcc;
}

/* === Footer Grundstruktur === */
.footer {
    width: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    color: #e0e6f0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

.footer-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #cfd8e3;
}

.footer-content a {
    color: #cfd8e3;
    text-decoration: none;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
}

.footer-content a:hover {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.08);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .box {
        flex-direction: column;
    }
    
    .minus-15-lk {
        flex: 1 1 100%;
    }

    .top-nav {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-nav-right {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}