/* ===== JU-VERSICHERUNGEN – Custom Styles ===== */
/* Keine externen Schriften – ausschließlich System-Fonts */

:root {
    --ju-navy:       #1e5c2a;
    --ju-navy-dark:  #134019;
    --ju-gold:       #b8960c;
    --ju-gold-light: #d4af37;
    --ju-light:      #f7f8fa;
    --ju-text:       #2c3e50;
    --ju-muted:      #6b7c93;
}

/* System Font Stack – kein externes Laden */
*, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ===== HEADER ===== */
#header {
    background-color: var(--ju-navy) !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

#header .navbar {
    align-items: center;
}

#header .navbar-section a,
#header .navbar-section a:visited {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 500;
    padding: 0 0.85rem;
    transition: color 0.2s;
}

#header .navbar-section a:hover { color: var(--ju-gold-light) !important; }

.ju-logo-klein {
    height: 52px;
    width: auto;
    display: block;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 6px;
    padding: 3px;
}

.hero-logo {
    width: 340px;
    max-width: 90%;
    height: auto;
    display: block;
    background: #fff;
    border: 4px solid #fff;
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.header-phone {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 600;
    margin-left: 1.5rem;
    white-space: nowrap;
    text-decoration: none;
    font-size: 0.95rem;
}

.header-phone:hover { color: var(--ju-gold-light) !important; }
.header-phone .fa   { color: var(--ju-gold-light); margin-right: 0.3rem; }

/* ===== HERO ===== */
.modular-hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center center;
    background-color: var(--ju-navy);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(15, 29, 46, 0.82) 0%,
        rgba(26, 46, 74, 0.65) 60%,
        rgba(26, 46, 74, 0.40) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 5rem 0 4rem;
    max-width: 620px;
}

.modular-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}

.modular-hero h2 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--ju-gold-light);
    margin-bottom: 1.2rem;
    letter-spacing: 0.02em;
}

.modular-hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

#to-start {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.55);
    z-index: 2;
    font-size: 1.4rem;
}

/* ===== BUTTONS ===== */
.button, a.button {
    background-color: var(--ju-gold);
    border-color: var(--ju-gold);
    color: #fff !important;
    border-radius: 4px;
    padding: 0.7rem 1.8rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1;
    transition: background 0.2s, border-color 0.2s;
}

.button:hover, a.button:hover {
    background-color: var(--ju-gold-light);
    border-color: var(--ju-gold-light);
    color: #fff !important;
}

.button.button-outline, a.button.button-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.75);
    color: #fff !important;
    border-radius: 50px;
}

.button.button-outline:hover, a.button.button-outline:hover {
    background: rgba(255,255,255,0.12);
    border-color: #fff;
}

.button.button-ghost, a.button.button-ghost {
    background: transparent;
    border: 2px solid var(--ju-gold-light);
    color: var(--ju-gold-light) !important;
    border-radius: 50px;
    margin-left: 0.75rem;
}

.button.button-ghost:hover, a.button.button-ghost:hover {
    background: var(--ju-gold);
    border-color: var(--ju-gold);
    color: #fff !important;
}

/* ===== VISITENKARTE ===== */
.visitenkarte {
    background: #fff;
    padding: 4.5rem 0;
}

.vk-wrapper {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
}

.vk-portrait img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--ju-gold-light);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.vk-info h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ju-navy);
    margin-bottom: 0.2rem;
}

.vk-titel {
    color: var(--ju-gold);
    font-weight: 600;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.vk-kontakt {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.vk-kontakt li {
    padding: 0.5rem 0;
    color: var(--ju-text);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
}

.vk-kontakt li .fa {
    color: var(--ju-gold);
    width: 18px;
    text-align: center;
}

.vk-kontakt a {
    color: var(--ju-navy);
    text-decoration: none;
    font-weight: 500;
}

.vk-kontakt a:hover { color: var(--ju-gold); }

.vk-text {
    color: var(--ju-muted);
    line-height: 1.7;
    font-size: 0.97rem;
    max-width: 520px;
    margin: 0;
}

@media (max-width: 640px) {
    .vk-wrapper { flex-direction: column; align-items: center; text-align: center; }
    .vk-kontakt li { justify-content: center; }
}

/* ===== LOGIN SECTION ===== */
.login-section {
    background: var(--ju-light);
    padding: 4.5rem 0;
}

.login-box {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    padding: 3rem 2.5rem;
    text-align: center;
    border-top: 4px solid var(--ju-gold);
}

.login-logo img {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
}

.login-box h3 {
    color: var(--ju-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.login-box p {
    color: var(--ju-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.button-login {
    background: var(--ju-navy) !important;
    border-color: var(--ju-navy) !important;
    border-radius: 6px !important;
    padding: 0.85rem 2rem !important;
    font-size: 1rem !important;
    width: 100%;
    justify-content: center;
}

.button-login:hover {
    background: var(--ju-navy-dark) !important;
    border-color: var(--ju-navy-dark) !important;
}

.login-hint {
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--ju-muted);
}

.login-hint a { color: var(--ju-gold); text-decoration: none; font-weight: 500; }

/* ===== DOWNLOADS ===== */
.downloads-section {
    background: #fff;
    padding: 4.5rem 0;
}

.downloads-section h2 {
    color: var(--ju-navy);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

.download-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-card {
    background: var(--ju-light);
    border: 1px solid #e4e8ed;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    flex: 0 0 260px;
    transition: box-shadow 0.2s, transform 0.2s;
}

.download-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.10);
    transform: translateY(-3px);
}

.download-card .fa {
    font-size: 3rem;
    color: var(--ju-gold);
    display: block;
    margin-bottom: 1rem;
}

.download-card h4 {
    color: var(--ju-navy);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.download-card p {
    color: var(--ju-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
#footer {
    background-color: var(--ju-navy-dark);
    color: rgba(255,255,255,0.65);
    padding: 3rem 0 1.5rem;
    font-size: 0.9rem;
}

#footer p, #footer a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
}

#footer a:hover { color: var(--ju-gold-light); }
#footer strong  { color: rgba(255,255,255,0.9); }

.footer-logo-klein {
    height: 56px;
    width: auto;
    display: block;
    background: #fff;
    border: 3px solid #fff;
    border-radius: 6px;
    padding: 3px;
    margin-bottom: 0.75rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 0.2rem 0; }

.footer-copy {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.82rem;
}

.footer-madeby {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
}
.footer-madeby a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}
.footer-madeby a:hover {
    color: rgba(255,255,255,0.65);
    text-decoration: underline;
}

.footer-privacy {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.75rem;
    line-height: 1.6;
}
.footer-privacy a {
    color: rgba(255,255,255,0.45);
    text-decoration: underline;
}
.footer-privacy a:hover {
    color: rgba(255,255,255,0.7);
}

/* ===== CONTENT PAGES (Impressum, Datenschutz) ===== */
#body-wrapper {
    padding: 3rem 0 4rem;
}

#body-wrapper h1 {
    color: var(--ju-navy);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--ju-gold);
}

#body-wrapper h2 {
    color: var(--ju-navy);
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

#body-wrapper h3 {
    color: var(--ju-navy);
    font-size: 1.05rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

#body-wrapper p, #body-wrapper li {
    color: #444;
    line-height: 1.7;
}

#body-wrapper ul { padding-left: 1.5rem; }

/* ===== ALLGEMEIN ===== */
h1, h2, h3, h4 { color: var(--ju-navy); }
a { color: var(--ju-gold); }
a:hover { color: var(--ju-navy); }

@media (max-width: 480px) {
    .modular-hero h1   { font-size: 2.1rem; }
    .download-grid     { flex-direction: column; align-items: center; }
    .login-box         { padding: 2rem 1.25rem; }
}
