:root {
    --jf-navy: #062f52;
    --jf-blue: #075783;
    --jf-red: #063f69;
    --jf-ink: #172837;
    --jf-muted: #687987;
    --jf-line: #dfe7ed;
    --jf-soft: #f4f7f9;
    --jf-white: #ffffff;
}

.jf-page {
    overflow: hidden;
    background: #f5f8fa;
    color: var(--jf-ink);
}

.jf-page .container {
    max-width: 1180px;
}

.jf-hero {
    position: relative;
    padding: 82px 0 72px;
    overflow: hidden;
    text-align: center;
    color: var(--jf-white);
    background:
        radial-gradient(circle at 85% 12%, rgba(31, 132, 183, .30), transparent 31%),
        linear-gradient(125deg, #031d33, #063f69 58%, #075f91);
}

.jf-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 44px 44px;
}

.jf-hero .container,
.jf-hero > * {
    position: relative;
    z-index: 1;
}

.jf-hero span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #8cc9e8;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.jf-hero span::before {
    width: 32px;
    height: 2px;
    content: "";
    background: currentColor;
}

.jf-hero h1 {
    margin: 12px 0;
    color: var(--jf-white);
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.045em;
}

.jf-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .76);
    font-size: 1.08rem;
    line-height: 1.7;
}

.jf-list {
    padding: 70px 0 95px;
}

.jf-year {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 22px;
    margin: 0 0 28px;
}

.jf-year:not(:first-child) {
    margin-top: 52px;
}

.jf-year i {
    height: 1px;
    background: var(--jf-line);
}

.jf-year strong {
    display: grid;
    min-width: 76px;
    min-height: 44px;
    place-items: center;
    padding: 7px 16px;
    border-radius: 11px;
    background: var(--jf-navy);
    color: var(--jf-white);
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.jf-grid {
    display: grid;
    gap: 18px;
    margin-bottom: 48px;
}

.jf-card {
    display: grid;
    grid-template-columns: minmax(230px, 30%) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--jf-line);
    border-radius: 18px;
    background: var(--jf-white);
    box-shadow: 0 12px 35px rgba(18, 52, 75, .07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.jf-card:hover {
    transform: translateY(-4px);
    border-color: rgba(6, 63, 105, .22);
    box-shadow: 0 18px 42px rgba(18, 52, 75, .13);
}

.jf-logo {
    position: relative;
    display: grid;
    min-height: 260px;
    place-items: center;
    padding: 35px;
    overflow: hidden;
    border-right: 1px solid var(--jf-line);
    background: linear-gradient(145deg, #edf2f5, #ffffff);
}

.jf-logo::before {
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(6, 47, 82, .06);
    border-radius: 13px;
    content: "";
    pointer-events: none;
}

.jf-logo img {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 100%;
    max-height: 165px;
    object-fit: contain;
    transition: transform .35s ease;
}

.jf-card:hover .jf-logo img {
    transform: scale(1.025);
}

.jf-content {
    align-self: center;
    padding: 36px 40px;
}

.jf-content time {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--jf-red);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.jf-content time::before {
    width: 22px;
    height: 2px;
    content: "";
    background: currentColor;
}

.jf-content h2 {
    margin: 10px 0 12px;
    color: var(--jf-navy);
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.025em;
}

.jf-content h2 span {
    color: #405464;
    font-weight: 600;
}

.jf-content p {
    margin-bottom: 10px;
    color: var(--jf-muted);
    line-height: 1.7;
}

.jf-place {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #405464 !important;
    font-weight: 700;
}

.jf-content a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    gap: 10px;
    margin-top: 14px;
    padding: 11px 18px;
    border: 1px solid var(--jf-navy);
    border-radius: 10px;
    background: var(--jf-navy);
    color: var(--jf-white) !important;
    font-size: .86rem;
    font-weight: 800;
    text-decoration: none !important;
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.jf-content a::after {
    content: "\2192";
    font-size: 1rem;
    line-height: 1;
}

.jf-content a:hover,
.jf-content a:focus-visible {
    transform: translateX(2px);
    border-color: var(--jf-red);
    background: var(--jf-red);
    color: var(--jf-white) !important;
}

.jf-content a:focus-visible {
    outline: 3px solid rgba(6, 63, 105, .22);
    outline-offset: 3px;
}

.jf-empty {
    padding: 48px 25px;
    border: 1px solid var(--jf-line);
    border-radius: 18px;
    background: var(--jf-white);
    box-shadow: 0 12px 35px rgba(18, 52, 75, .06);
    color: var(--jf-muted);
    text-align: center;
}

@media (max-width: 767px) {
    .jf-hero {
        padding: 58px 0 52px;
    }

    .jf-list {
        padding: 48px 0 65px;
    }

    .jf-card {
        grid-template-columns: 1fr;
        border-radius: 15px;
    }

    .jf-logo {
        min-height: 190px;
        border-right: 0;
        border-bottom: 1px solid var(--jf-line);
    }

    .jf-content {
        padding: 27px 24px 30px;
    }
}

@media (max-width: 575px) {
    .jf-hero p {
        font-size: 1rem;
    }

    .jf-year {
        gap: 12px;
    }

    .jf-grid {
        gap: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jf-card,
    .jf-logo img,
    .jf-content a {
        transition: none;
    }
}

/* FINAL: EINHEITLICHES JONGEN-BLAU */
:root {
    --jf-red: #063f69;
    --jf-accent: #063f69;
    --jf-accent-hover: #062f52;
    --jf-accent-active: #031d33;
    --jf-accent-light: #8cc9e8;
}

/* Heller Akzent auf dem dunklen Hero */
.jf-hero span {
    color: var(--jf-accent-light);
}

/* Jahreskennzeichnung */
.jf-year strong {
    border-radius: 8px;
    background: var(--jf-accent);
}

/* Einheitliche Messekarten */
.jf-card {
    border: 1px solid var(--jf-line);
    border-left: 4px solid var(--jf-accent);
    border-radius: 8px;
    box-shadow: none;
}

.jf-card:hover {
    transform: none;
    border-color: #c2d4de;
    border-left-color: var(--jf-accent-hover);
    box-shadow: 0 10px 28px rgba(6, 63, 105, .10);
}

.jf-logo {
    background: #f2f6f8;
    background-image: none;
}

.jf-logo::before {
    border-radius: 8px;
}

.jf-card:hover .jf-logo img {
    transform: none;
}

.jf-content time {
    color: var(--jf-accent);
}

/* Einheitlicher dunkelblauer Linkbutton */
.jf-content a {
    border-color: var(--jf-accent);
    border-radius: 8px;
    background: var(--jf-accent);
    box-shadow: none;
}

.jf-content a:hover,
.jf-content a:focus-visible {
    transform: none;
    border-color: var(--jf-accent-hover);
    background: var(--jf-accent-hover);
    color: var(--jf-white) !important;
}

.jf-content a:active {
    border-color: var(--jf-accent-active);
    background: var(--jf-accent-active);
}

.jf-content a:focus-visible {
    outline: 3px solid rgba(6, 63, 105, .22);
    outline-offset: 3px;
}

.jf-empty {
    border-left: 4px solid var(--jf-accent);
    border-radius: 8px;
    box-shadow: none;
}

@media (max-width: 767px) {
    .jf-card {
        border-radius: 8px;
    }
}

