/* style.css - Design für Hillscheid */
:root {
    --primary-color: #15803d; /* Waldgrün aus dem Wappen (unten) */
    --accent-color: #eab308;  /* Gelb/Gold aus den Krügen und dem Löwen */
    --secondary-color: #dc2626; /* Rot aus dem Wappen (oben) */
    --text-color: #333333;
    --bg-color: #f8fafc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo-area a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.header-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-area h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    text-decoration: none;
    color: #4b5563;
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
}

/* Main Content */
main {
    flex: 1;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
    width: 100%;
}

h2.page-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    border-bottom: 3px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

.content-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1rem;
    border-bottom: 1px solid #334155;
    padding-bottom: 0.5rem;
}

.footer-col p, .footer-col ul {
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
}

.footer-col a:hover {
    color: white;
}

.footer-wappen {
    width: 90px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4)); /* Leichter Schatten für bessere Sichtbarkeit auf dunklem Grund */
}

/* --- NEU: Lightbox (Bildvergrößerung) --- */
main img {
    cursor: zoom-in; /* Zeigt die Lupe als Mauszeiger an */
    transition: transform 0.2s ease-in-out;
}

main img:hover {
    transform: scale(1.02); /* Bild wird beim Drüberfahren leicht größer */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

#lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

#lightbox img {
    max-width: 90%;
    max-height: 90vh;
    border: 4px solid white;
    border-radius: 8px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.5);
    object-fit: contain;
}
/* --- ENDE Lightbox --- */

/* Formulare */
input, textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button.btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

button.btn:hover {
    background-color: #152c6b;
}
