/* main-style.css */

/* Reset & Grundstil */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #002F5F;
    line-height: 1.4;
    padding: 1rem;
}

/* Header-Bereich */
header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.logo-wrapper {
    margin-right: 1rem;
}

.logo-outside {
    width: 80px;
    height: auto;
}

.header-container {
    flex: 1;
    background-color: #002F5F;
    color: #fff;
    border-radius: 0.5rem;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.header-left h1 {
    font-size: 1.5rem;
}

.header-right {
    font-size: 0.95rem;
    color: #ffffffaa;
    /* Optional: Styling für spätere Dropdown-Implementierung */
}

.profil-dropdown {
    position: relative;
    display: inline-block;
}

.profil-button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    color: #fff;
}

.profil-button img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.profil-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 0.4rem;
    min-width: 180px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 10;
}

.profil-menu.active {
    display: block;
}

.profil-menu a {
    display: block;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: #002F5F;
}

.profil-menu a:hover {
    background: #f3f3f3;
}

/* Navigation */
.main-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 0;
}

.main-nav li {
    background-color: #ffffff;
    border: 2px solid #F28C00;
    border-radius: 0.5rem;
    text-align: center;
    padding: 1.5rem 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.main-nav li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-nav a {
    text-decoration: none;
    color: #002F5F;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-nav img {
    width: 64px;
    height: 64px;
    margin-bottom: 0.5rem;
}

.anlaesse {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    text-align: center;
}

.anlaesse h2 {
    margin-bottom: 1rem;
    color: #F28C00;
}

footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.url-path {
  color: white;
  font-size: 11px;
}
.url-path a {
  color: white;
  font-size: 11px;
}
.url-path a::after {
  color: white;
}

.session-banner {
    position: fixed;
    width: 95%;
    background-color: #fff3cd;
    color: #856404;
    border-bottom: 1px solid #ffeeba;
    padding: 1rem 2.5rem 1rem 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    z-index: 5000; /* ganz vorne */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.session-banner .banner-icon {
    width: 24px;
    height: 24px;
}

.session-banner .banner-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: #856404;
    cursor: pointer;
}

.event-card {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid #ccc;
    border-left: 5px solid #F28C00;
    border-radius: 0.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}


/* Responsive: Mobile Optimierung */
@media (max-width: 600px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-container {
        width: 100%;
        margin-top: 1rem;
    }

    .logo-wrapper {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .header-left,
    .header-right {
        width: 100%;
        text-align: left;
    }

    .header-left h1 {
        font-size: 1.2rem;
    }

    .main-nav ul {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .main-nav img {
        width: 48px;
        height: 48px;
    }
}
