/* =========================================
   DIV-IMMOBILIEN.DE — components.css
   ========================================= */

/* ---- ARTICLE HEADER (Ratgeber) ---- */
.header-article {
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: 4rem;
    display: flex;
    align-items: center;
}

/* ---- HAMBURGER ---- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #D4AF37;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    .desktop-nav { display: none !important; }
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #0F172A;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1rem 1.5rem;
    gap: 0;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    z-index: 49;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: color 0.2s;
}
.mobile-menu a:hover { color: #D4AF37; }

/* ---- ARTICLE CARD ---- */
.article-card {
    background: #ffffff;
    border: 1px solid rgba(148,163,184,0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-decoration: none;
}
.article-card:hover {
    box-shadow: 0 12px 40px rgba(15,23,42,0.08);
    transform: translateY(-2px);
    border-color: rgba(212, 175, 55, 0.3);
}
.article-card h3 { margin: 0; }
.article-card .tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #D4AF37;
}
.article-card p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
