/* ============================================================
   PREMIUM DESIGN - MASTER VERSION 1.3
   Angelverein "Der Werder" Plaue e.V.
   Inkl. 3D-Logo-Überhang, Parallax & Horizontal-Wetter
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800&family=Open+Sans:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

:root {
    --primary: #002d44;       /* Dunkles Blau für Header/Footer */
    --accent: #00a8cc;        /* Akzent-Blau */
    --text-main: #1a1a1a;
    --bg-alt: #f4f7f9;
    --white: #ffffff;
    --shadow-pro: 0 15px 45px rgba(0,0,0,0.2);
}

/* 1. GRUNDLAGEN & RESET */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--white);
    overflow-x: hidden;
}

/* 2. NAVIGATION (DUNKEL MIT 3D-LOGO-ÜBERHANG) */
header {
    background: var(--primary) !important;
    padding: 0 5% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: sticky;
    top: 0; 
    z-index: 2000;
    box-shadow: 0 4px 25px rgba(0,0,0,0.4);
    height: 90px;
}

/* Platzhalter für das Logo, um das Menü nicht zu quetschen */
.logo {
    position: relative;
    width: 280px;      /* Reservierter Platz im Header */
    height: 90px;
    flex-shrink: 0;    /* Verhindert das Zusammendrücken */
    background: transparent !important;
    z-index: 3000;
}

.logo a {
    display: block;
    background: transparent !important;
    border: none !important;
}

/* Das überhängende Logo-Bild */
.logo img {
    position: absolute !important;
    top: -10px;        /* Schiebt das Logo leicht über den oberen Rand */
    left: 0;
    width: 320px !important; /* Vergrößertes Logo */
    height: auto !important;
    background: transparent !important;
    filter: drop-shadow(0 12px 15px rgba(0,0,0,0.5)); /* 3D-Schatten auf den Banner */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.03);
}

/* Menü-Steuerung */
nav {
    flex-grow: 1;
    display: flex !important;
    justify-content: flex-end !important;
}

nav ul {
    display: flex !important;
    flex-direction: row !important; /* Zwingend nebeneinander */
    list-style: none !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
}

nav a {
    text-decoration: none !important;
    color: #ffffff !important;      /* SCHRIFTWEISS ERZWINGEN */
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    padding: 12px 18px !important;
    background: transparent !important;
    white-space: nowrap !important; /* Verhindert Zeilenumbruch */
    transition: 0.3s;
    border-radius: 6px;
}

nav a:hover, nav a.active {
    background: var(--accent) !important;
    color: white !important;
}

.menu-toggle {
    display: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

/* 3. HERO BANNER (PARALLAX / FIXIERT) */
.hero {
    position: relative;
    height: 65vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* BILD BLEIBT STEHEN */
    background-repeat: no-repeat;
    z-index: 1;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.45); 
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    max-width: 1400px;
    width: 100%;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3.8vw, 3.2rem); /* Einzeilig optimiert */
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
    white-space: nowrap; 
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 600;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
}

/* 4. TERMIN BLICKFANG (MAXIMALE GRÖSSE) */
.event-row-card {
    max-width: 1250px;
    background: var(--white);
    border: 4px solid var(--accent);
    border-radius: 20px;
    padding: 40px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: var(--shadow-pro);
    margin-bottom: 40px;
}

.overlap-hero {
    margin: -90px auto 50px;
    position: relative;
    z-index: 100;
}

.event-badge {
    background: var(--accent);
    color: white;
    padding: 6px 18px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1rem;
    display: inline-block;
    margin-bottom: 15px;
}

.event-row-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem !important;
    color: var(--primary);
    margin: 0;
    text-align: left;
    line-height: 1.1;
}

.event-details-row {
    font-size: 1.4rem !important;
    margin-top: 15px;
    color: #333;
}

.btn-event-huge {
    background: var(--primary);
    color: white;
    padding: 18px 40px;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: 0.3s;
    white-space: nowrap;
}

.btn-event-huge:hover {
    background: var(--accent);
    transform: scale(1.05);
}

/* 5. WETTER BAR (FINALER FIX: HORIZONTAL) */
.weather-section { padding: 40px 5% !important; }
.weather-bar {
    background: linear-gradient(135deg, #1a375a 0%, #004d73 100%) !important;
    color: white !important;
    border-radius: 20px !important;
    padding: 35px 50px !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important; 
    gap: 30px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
}

.weather-current-group {
    display: flex !important;
    align-items: center !important;
    gap: 25px !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    padding-right: 35px !important;
    flex-shrink: 0 !important;
}

#temp-current { 
    font-size: 5rem !important; 
    font-weight: 800 !important; 
    line-height: 1 !important; 
}

.weather-details-grid {
    display: flex !important;
    flex-direction: row !important;
    gap: 45px !important; 
    flex-grow: 1 !important;
    justify-content: center !important;
    border-right: 1px solid rgba(255,255,255,0.2) !important;
    padding: 0 35px !important;
}

.weather-details-grid div { text-align: center !important; }
.weather-details-grid span { 
    display: block !important; 
    text-transform: uppercase !important; 
    font-size: 0.75rem !important; 
    opacity: 0.7 !important; 
    margin-bottom: 5px !important; 
}

#forecast-output {
    display: flex !important;
    flex-direction: row !important;
    gap: 35px !important;
    flex-shrink: 0 !important;
}

.day-card { text-align: center !important; min-width: 90px !important; }
.day-card .emoji { font-size: 3.2rem !important; margin: 5px 0 !important; display: block !important; }
.day-card .day-label { font-size: 0.85rem !important; font-weight: 800 !important; text-transform: uppercase !important; }

/* 6. CONTENT SEKTIONEN */
section { padding: 100px 10%; }
.container { max-width: 1250px; margin: 0 auto; }
.alt-bg { background-color: var(--bg-alt); }

h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 2.8rem; 
    color: var(--primary); 
    margin-bottom: 40px; 
    text-align: center; 
    width: 100%;
}

.framed-card {
    background: var(--white);
    border: 1px solid #d1d9e0;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* 7. FOOTER */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column h4 {
    font-family: 'Playfair Display', serif;
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 15px;
    color: #cbd5e0;
}

.footer-column a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    opacity: 0.6;
}

/* 8. RESPONSIVE ANPASSUNGEN */
@media (max-width: 1150px) {
    header { height: auto; padding: 20px !important; flex-direction: column; }
    .logo { width: auto; height: auto; margin-bottom: 20px; }
    .logo img { position: static !important; width: 220px !important; filter: none; }
    nav { width: 100%; }
    nav ul { flex-wrap: wrap; justify-content: center; margin-top: 15px; }
    .hero h1 { white-space: normal; line-height: 1.2; font-size: 2.2rem; }
    .hero { background-attachment: scroll; }
    .weather-bar { flex-direction: column !important; gap: 30px !important; }
    .weather-current-group, .weather-details-grid { border: none !important; padding: 0 !important; }
    .event-row-card { flex-direction: column; text-align: center; padding: 30px; }
    .event-row-card h3 { text-align: center; font-size: 2rem !important; }
}