body {
    background-color: #f8f9fa; /* Leichter Grauton statt Weiß */
}

.card {
    transition: transform 0.2s; /* Leichter Hover-Effekt */
    cursor: pointer; /* Zeigt, dass die Card klickbar ist */
}

.card:hover {
    transform: scale(1.02);
}

.card-title a {
    text-decoration: none; /* Keine Unterstreichung */
    color: inherit; /* Kein blauer Link-Look */
}

.list-group-item.active {
    background-color: #e9ecef; /* Heller Grau für active */
    color: #212529; /* Dunkle Schrift für Kontrast */
    border-color: #dee2e6;
}

.list-group-item a {
    color: #212529; /* Dunkle Links statt Blau */
    text-decoration: none;
}

.list-group-item a:hover {
    text-decoration: underline;
}

.carousel-item img {
    max-height: 400px; /* Begrenzung für Carousel-Bilder */
    object-fit: contain;
    cursor: zoom-in; /* Zeigt Zoom-Möglichkeit */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5); /* Dunkler Hintergrund für Sichtbarkeit */
    border-radius: 50%; /* Rund für besseren Look */
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 1; /* Immer sichtbar */
}

.carousel-control-prev.disabled,
.carousel-control-next.disabled {
    opacity: 0.3; /* Deaktiviert wirken (grau und transparent) */
}

.modal-img {
    width: 80%; /* Angepasst, nicht zu groß */
    height: auto;
    display: block;
    margin: 0 auto;
}
.modal-body {
    text-align: center;
}

.modal-dialog {
    max-width: 90vw; /* Großes Modal für Zoom */
    max-height: 90vh;
}

/* Login Hintergrund */
.login-bg {
    background: url('images/backgroundLogin.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 90vh;

    /* leichte Abdunklung für bessere Lesbarkeit */
    position: relative;
}

.login-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35); /* 35% Abdunklung */
    z-index: 0;
}

/* Allgemeine Typo */
h1 {
    letter-spacing: -0.5px;
}

/* Suche */
.search-box {
    min-width: 280px;
}
.search-box input {
    box-shadow: none;
}

/* Karten */
.analysis-card {
    border: none;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
}

.analysis-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

/* Text */
.card-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Buttons in Cards */
.analysis-card .btn {
    border-radius: 20px;
}

/* Navbar etwas ruhiger */
.navbar {
    border-bottom: 1px solid #e9ecef;
}

/* Hintergrund minimal heller */
body {
    background-color: #f5f6f8;
}

/* ---------- Typografie ---------- */
h1 {
    letter-spacing: -0.5px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
}

/* ---------- Karten ---------- */
.analysis-card {
    border: none;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.04);
    transition: all 0.25s ease;
    cursor: pointer;
}

.analysis-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.analysis-card .btn {
    border-radius: 20px;
    transition: all 0.2s ease;
}

.analysis-card:hover .btn {
    background-color: #0d6efd;
    color: #ffffff;
}

/* ---------- Textbegrenzung ---------- */
.card-text {
    font-size: 0.95rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Badges ---------- */
.badge {
    font-weight: 500;
    border-radius: 12px;
    padding: 0.35em 0.55em;
}

/* ---------- Suche ---------- */
.search-box {
    min-width: 280px;
}

.search-box input {
    box-shadow: none;
}

/* ---------- Navbar ---------- */
.navbar {
    border-bottom: 1px solid #e9ecef;
}

/* ---------- Hintergrund ---------- */
body {
    background-color: #f5f6f8;
}

/* Detailansicht: KEIN Hover-Zoom */
.analysis-detail .card {
    transform: none !important;
    cursor: default;
}

.analysis-detail .card:hover {
    transform: none !important;
}

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.95); /* leicht transparent */
    max-width: 400px;
    width: 100%;
    z-index: 1; /* damit über Overlay */
    transition: transform 0.3s, box-shadow 0.3s;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Buttons */
.login-card .btn-primary {
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-size: 1.05rem;
    transition: all 0.2s ease-in-out;
}

.login-card .btn-primary:hover {
    background-color: #0b5ed7;
    box-shadow: 0 8px 20px rgba(11, 94, 215, 0.3);
}

/* Alerts zentriert */
.alert {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
}

/* Hintergrund overlay */
.login-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

/* Responsives Padding für Mobile */
@media (max-width: 576px) {
    .login-card {
        padding: 2rem 1.5rem;
    }
}

/* Analyst Tabelle */
.table {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-hover tbody tr:hover {
    background-color: #f1f4f8;
}

/* Statusfarben dezenter */
.table-danger {
    background-color: #fdecec !important;
}

.table-warning {
    background-color: #fff6e5 !important;
}

.table-success {
    background-color: #edf7ed !important;
}

.hero {
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #f8f9fc, #ffffff);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.analysis-tabs .nav-link {
    border-radius: 30px;
    padding: 0.5rem 1.2rem;
    font-weight: 500;
    color: #6c757d;
}

.analysis-tabs .nav-link.active {
    background-color: #0d6efd;
    color: #fff;
}

.analysis-featured {
    background: #0d6efd;
    color: #fff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
}

.analysis-featured .badge {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.analysis-snippet {
    padding: 1.5rem;
    border-radius: 16px;
    background: #fff;
    transition: all 0.25s ease;
}

.analysis-snippet:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.container {
    max-width: 1140px;
}

.analysis-snippet {
    animation: fadeInUp 0.4s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.analysis-featured {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.analysis-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}

.analysis-snippet {
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.analysis-snippet:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

