/* ==========================================================================
   ROOT VARIABLES (JFS-Style Farbschema)
   ========================================================================== */
:root {
    --color-navy: #0B1C33;       /* Tiefes Marineblau */
    --color-blue: #00A3FF;       /* Leuchtendes, helles Blau für Akzente */
    --color-white: #FFFFFF;
    --color-light-gray: #F4F6F8;
    --color-dark: #000000;
    
    --font-main: 'Montserrat', sans-serif;
}

/* ==========================================================================
   RESET & BASICS
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-light-gray);
    color: var(--color-navy);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-navy);
}

.jh-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.jh-site-header {
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.jh-nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jh-logo {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.jh-nav a {
    color: var(--color-white);
    font-weight: 600;
    margin-left: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.jh-nav a:hover {
    color: var(--color-blue);
}

/* ==========================================================================
   BUTTONS (Kantig, politisch, auffällig)
   ========================================================================== */
.jh-btn {
    display: inline-block;
    padding: 16px 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%); /* Leicht schräger Cutout-Effekt */
}

.jh-btn-nav {
    background-color: var(--color-blue);
    color: var(--color-white) !important;
}

.jh-btn-nav:hover {
    background-color: var(--color-white);
    color: var(--color-navy) !important;
}

.jh-btn-primary {
    background-color: var(--color-blue);
    color: var(--color-white);
    font-size: 1.2rem;
}

.jh-btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-navy);
}

.jh-btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border: 3px solid var(--color-blue);
    font-size: 1.2rem;
    clip-path: none;
    border-radius: 0;
}

.jh-btn-outline:hover {
    background-color: var(--color-blue);
}

/* ==========================================================================
   HERO SECTION (Dynamisch, Video, schräge Kante)
   ========================================================================== */
.jh-hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--color-navy);
    overflow: hidden;
    /* Die typische schräge politische Kante unten */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); 
}

.jh-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    opacity: 0.4; /* Video dunkler machen, damit Text lesbar ist */
}

.jh-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(11,28,51,0.9) 0%, rgba(0,163,255,0.4) 100%);
    z-index: 2;
}

.jh-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jh-hero-text {
    max-width: 600px;
    color: var(--color-white);
}

.jh-hero-badge {
    background-color: var(--color-blue);
    color: var(--color-white);
    padding: 5px 15px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}

.jh-hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.jh-hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.4;
}

.jh-hero-buttons {
    display: flex;
    gap: 20px;
}

/* Freigestelltes Portrait */
.jh-hero-portrait {
    max-width: 450px;
    position: relative;
    z-index: 3;
    bottom: -50px; /* Lässt das Bild aus dem Grid "ausbrechen" */
}

.jh-hero-portrait img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.5));
}

/* ==========================================================================
   CONTENT SECTIONS & GRIDS
   ========================================================================== */
.jh-section {
    padding: 80px 20px;
}

.jh-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 4px solid var(--color-navy);
    padding-bottom: 10px;
}

.jh-section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--color-navy);
    line-height: 1;
}

.jh-link-more {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.1rem;
    color: var(--color-blue);
}

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

/* ==========================================================================
   CARDS (Post & Parolen)
   ========================================================================== */
.jh-card {
    background-color: var(--color-white);
    border: 1px solid #E1E5E9;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Typischer JFS-Strich oben an den Karten */
.jh-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--color-blue);
    transition: height 0.3s ease;
}

.jh-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(11,28,51,0.1);
}

.jh-card:hover::before {
    height: 10px;
}

.jh-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.jh-card-content {
    padding: 30px;
}

.jh-card-date {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-blue);
    display: block;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.jh-card-title {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.jh-card-title a {
    color: var(--color-navy);
}

.jh-card-title a:hover {
    color: var(--color-blue);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.jh-site-footer {
    background-color: var(--color-navy);
    color: var(--color-white);
    text-align: center;
    padding: 40px 20px;
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 900px) {
    .jh-hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .jh-hero-portrait {
        display: none; /* Portrait auf Mobile ausblenden, um Platz zu sparen */
    }
    
    .jh-hero-title {
        font-size: 3.5rem;
    }
    
    .jh-hero-buttons {
        justify-content: center;
    }
    
    .jh-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .jh-section-header h2 {
        font-size: 2.2rem;
    }
}