/* RemoteViewing - Modern Scientific Template */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #f8fafc;
    color: #1e2937;
    line-height: 1.75;
}

/* Header */
.navbar {
    background: #0f172a !important;
    border-bottom: 1px solid #334155;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.navbar-brand {
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.8px;
}

.navbar-brand img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* Menü */
/* ==================== MENÜ STYLING ==================== */
.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-item {
    margin: 0 4px;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500;
    padding: 12px 20px !important;
    margin: 0 5px;
    text-decoration: none !important;     /* Kein Unterstrich */
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #67e8f9 !important;
    background-color: rgba(103, 232, 249, 0.15);
}

/* Hamburger Menu Verbesserung */
.navbar-toggler {
    border: none;
    padding: 10px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.8' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 32px;
    height: 32px;
}

/* Responsive Menü */
@media (max-width: 992px) {
    .navbar-nav {
        padding: 15px 0;
        background: #0f172a;
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 14px 25px !important;
        margin: 4px 10px;
        border-radius: 6px;
        text-align: center;
    }
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero - Bild besser sichtbar */
.hero {
    height: 78vh;
    min-height: 520px;
    background: linear-gradient(rgba(15, 23, 42, 0.45), rgba(15, 23, 42, 0.55)), 
                url('../images/remote-viewing-hero.jpg') center/cover no-repeat;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 4.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -1.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    font-size: 1.35rem;
    color: #e0f2fe;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* Grid Section */
.grid-section {
    margin-top: -50px;
    padding-bottom: 60px;
}

/* Karten */
.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    overflow: hidden;
    background: #ffffff;
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.15);
}

.card img {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.08);
}

.card-body {
    padding: 32px 24px;
    text-align: center;
}

.card-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.card-text {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.55;
    margin-bottom: 24px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #2563eb, #3b82f6) !important;
    border: none;
    color: white !important;
    padding: 14px 38px;
    font-size: 1.08rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-outline-primary {
    border-color: #2563eb;
    color: #2563eb;
}

.btn-outline-primary:hover {
    background: #2563eb;
    color: white;
}

/* Scroll to Top */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 26px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
}

.scroll-top-btn.show {
    display: flex;
}

.scroll-top-btn:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
}

/* Responsiv */
@media (max-width: 768px) {
    .hero {
        height: 65vh;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .grid-section {
        margin-top: -30px;
    }
}