:root {
    --primary-color: #ffffff;
    --primary-color1: #000000;
    --primary-hover: #b71c1c;
    --secondary-color: #333;
    --light-gray: #f5f7fa;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light-gray);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                url('../images/lld-content-image.webp') no-repeat center bottom / cover;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 390px 20px 140px;
    position: relative;
}




/* Logo */
.navbar-brand img {
    height: 180px;
    transition: transform 0.3s ease;
    max-width: 100%;
    object-fit: contain;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

/* Navigation */
.navbar {
    background-color: rgba(217, 35, 46, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar-nav .nav-link {
    color: white !important;
    font-size: 15px;
    margin: 0 8px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 8px 12px !important;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    bottom: 0;
    width: calc(100% - 24px);
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
    transform-origin: center;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
}

.dropdown-item {
    padding: 8px 20px;
    transition: all 0.2s;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--primary-color);
    color: white !important;
}

/* Hero Text */
.hero-text {
    text-align: center;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out forwards;
    margin-top: 60px;
    line-height: 1.2;
}

.hero-text .lead {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 300;
    margin-top: 20px;
    max-width: 700px;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s forwards;
    animation-fill-mode: both;
}

.btn-hero {
    background-color: var(--primary-color1);
    border: none;
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    animation-fill-mode: both;
    box-shadow: 0 4px 15px rgba(217, 35, 46, 0.4);
}

.btn-hero:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 35, 46, 0.5);
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Main Content */
.main-content {
    flex: 1;
    padding-bottom: 100px;
}

.section-title {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--primary-color1);
}

/* Feature Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.1) !important;
}

.card-body {
    padding: 30px;
    text-align: center;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color1);
    margin-bottom: 20px;
}

.card-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.card-text {
    color: #666;
    margin-bottom: 20px;
}

.btn-card {
    background-color: transparent;
    color: var(--primary-color1);
    border: 1px solid var(--primary-color1);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-card:hover {
    background-color: var(--primary-color1);
    color: white;
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0 30px;
    width: 100%;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: var(--primary-color1);
}

.footer a {
    transition: color 0.3s ease;
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    display: inline-block;
    margin-bottom: 8px;
}

.footer a:hover {
    color: var(--primary-color1);
    text-decoration: none;
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    font-size: 20px;
    color: white;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
}

/* Chatbot Styling */
#chatbot-container {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1050;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
    .navbar-nav .nav-link {
        font-size: 14px;
        margin: 0 5px;
        padding: 8px 10px !important;
    }
}

@media (max-width: 992px) {
    .navbar-brand img {
        height: 100px;
    }
    
    .hero-section {
        padding: 150px 20px 100px;
    }
    
    .hero-text {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 130px 20px 80px;
    }
    
    .hero-text {
        font-size: 32px;
    }
    
    .jira-login {
        right: 15px;
        top: 20px;
    }
    
    .navbar-brand img {
        height: 80px;
    }
    
    .footer .col-md-3 {
        margin-bottom: 30px;
        text-align: center !important;
    }
    
    .footer h5::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    #chatbot-container {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 576px) {
    .hero-text {
        font-size: 28px;
    }
    
    .hero-text .lead {
        font-size: 16px;
    }
    
    .btn-hero {
        padding: 10px 24px;
        font-size: 16px;
    }
    
    .navbar-brand img {
        height: 70px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    #chatbot-container {
        bottom: 70px;
        right: 10px;
        width: calc(100% - 20px);
        max-width: none;
    }
}

/* Download-Spezifische Styles */
.download-card {
    transition: transform 0.3s ease;
}

.download-card:hover {
    transform: translateY(-5px);
}

.download-badge {
    background-color: var(--primary-color);
    font-size: 0.8rem;
}

.download-meta {
    font-size: 0.9rem;
    color: #d9232e;
}

/* Responsive Downloads */
@media (max-width: 768px) {
    .download-item {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .download-item .btn {
        margin-top: 1rem;
        align-self: flex-end;
    }
}

/* Custom Styles für FAQ-Seite */

/* Accordion Button Style */
.accordion-button {
    background-color: #007BFF;
    color: white;
}

.accordion-button:not(.collapsed) {
    background-color: #0056b3;
}

.accordion-body {
    background-color: #f8f9fa;
    color: #333;
}

/* Geräte-Navigation */
.device-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

/* Artikel-Styling */
.device-content h2 {
    color: #2a6496;
    margin-top: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.device-content hr {
    margin: 2rem 0;
}
