/* =========================================
   1. BASIS
========================================= */

body { 
    font-family: Arial, sans-serif; 
    max-width: 1600px;
    margin: 0 auto;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1600px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* =========================================
   2. HEADER
========================================= */

.logo-link {
    text-decoration: none;
    color: inherit; 
    display: inline-block; 
    margin-bottom: 1.5rem;
}

.logo-link h1 {
    margin: 0;
    font-size: 3.2rem;
    font-weight: 700;
    color: #e98708;
    line-height: 1.0;
    letter-spacing: -1px;
}

.logo-link p {
    margin: 0.3rem 0 0 0;
    color: #666;
    font-size: 1.1rem;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.logo-link:hover h1 {
    color: rgb(238, 73, 7);
    transition: color 0.2s ease;
}

/* =========================================
   3. NAVIGATION
========================================= */

.nav-flex {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px 25px;
    justify-content: flex-start;
}

.nav-flex a {
    text-decoration: none;
    color: rgb(238, 73, 7);
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    transition: color 0.2s ease;
}

.nav-flex a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background: #333;
    transition: width 0.25s ease;
}

.nav-flex a:hover {
    color: #333;
}

.nav-flex a:hover::after {
    width: 100%;
}

/* =========================================
   4. PROFILFOTO
========================================= */

.profilfoto {
    width: clamp(300px, 50vw, 600px);
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    display: block;
    margin: 2rem 0;
    transition: all 0.3s ease;
    border-radius: 12px;
}

@media (min-width: 1025px) {
    .profilfoto { 
        margin-left: 0; 
        margin-right: auto; 
    }
}

@media (max-width: 1024px) {
    .profilfoto {
        margin: 2rem auto;
        border-radius: 50%;
        width: 280px;
        height: 280px;
        aspect-ratio: 1/1;
    }
}

/* =========================================
   5. RASTER BÜCHER
========================================= */

.raster-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    width: 100%;
}

.raster-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.raster-item:hover {
    transform: translateY(-5px);
}

.raster-bild {
    width: 100%;
    height: auto;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.raster-link {
    display: inline-block;
    background: linear-gradient(135deg, #0066cc, #004080);
    color: white;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: bold;
}

/* =========================================
   6. AKTUELL-BEREICH
========================================= */

.aktuell-section {
    background: #8B0000;
    color: white;
    padding: 1.2rem 1rem;
    border-radius: 12px;
    margin: 3rem 0 2rem 0;
    max-width: 800px;
    width: fit-content;
}

.aktuell-section .raster-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 100%;
}

.aktuell-section .raster-item {
    padding: 0.8rem;
    background: rgba(255,255,255,0.1);
}

.aktuell-section .raster-bild {
    aspect-ratio: 16/9;
    object-position: center left;
    margin-bottom: 0.6rem;
}

.aktuell-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.aktuell-section h3 {
    font-size: 1.1rem;
    margin: 0.4rem 0;
    color: white;
}

.aktuell-section p {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    color: white;
}

.raster-link.small-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.8em;
    color: white;
}

/* =========================================
   7. FOOTER
========================================= */

footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 4rem;
    border-top: 1px solid #ddd;
    color: #555;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

footer p {
    margin: 0 0 10px 0;
}

footer .footer-links {
    margin-top: 8px;
}

footer .footer-links a {
    color: #555;
    text-decoration: none;
    margin: 0 14px;
    font-weight: normal;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

footer .footer-links a:hover {
    color: #e98708;
    text-decoration: underline;
}
