/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER / NAVIGATION ===== */
.navbar {
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: #1a3a5f;
}

.navbar-nav .nav-link {
    margin: 0 0.5rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: #3498db;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* ===== HERO / LANDING BANNER ===== */
.hero {
    text-align: center;
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #cacfd4 0%, #2c5282 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
    z-index: 0;
}

.hero-content {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease-out;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.btn-hero {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: #3498db;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    animation: fadeIn 1s ease-out 0.6s both;
}

.btn-hero:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* ===== FEATURES / VORTEILE ===== */
.features {
    padding: 5rem 1rem;
    background: white;
}

.features .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #1a3a5f;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: all 0.4s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #1a3a5f;
}

/* ===== CTA / CALL TO ACTION ===== */
.cta-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #3498db 0%, #1a3a5f 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

/* ===== FOOTER ===== */
footer {
    background: #1a3a5f;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

/* ===== ANIMATIONEN ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features, .cta-section {
        padding: 3rem 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
}
/* ===== DASHBOARD ===== */

/* Hero-Bereich */
.dashboard-hero {
    background: linear-gradient(135deg, #1a3a5f 0%, #2c5282 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.dashboard-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Statistiken */
.stats-section {
    padding: 3rem 1rem;
    background: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-icon {
    font-size: 2rem;
    color: #3498db;
    margin-right: 1rem;
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: #1a3a5f;
}

.stat-content p {
    margin: 0;
    color: #666;
}

/* Touren-Bereich */
.tours-section {
    padding: 3rem 1rem;
    background: #f9fafb;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #1a3a5f;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Tour-Karten */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tour-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.tour-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.tour-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(26, 58, 95, 0.8);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.tour-content {
    padding: 1.5rem;
}

.tour-content h3 {
    margin-bottom: 0.75rem;
    color: #1a3a5f;
}

.tour-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.tour-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
}

/* Keine Touren */
.no-tours {
    text-align: center;
    padding: 3rem;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-container {
        padding: 1rem;
    }

    .admin-hero {
        padding: 2rem 1rem;
    }

    .admin-hero h1 {
        font-size: 2rem;
    }

    .dashboard-hero h1 {
        font-size: 2rem;
    }

    .dashboard-hero p {
        font-size: 1rem;
    }

    .stats-grid, .tour-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .group-title {
        font-size: 1.1rem;
    }

    .action-group .row .col-md-3,
    .action-group .row .col-md-4 {
        margin-bottom: 1rem;
    }

    .action-group .btn {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

@media (max-width: 480px) {
    .admin-hero h1 {
        font-size: 1.8rem;
    }

    .group-title {
        font-size: 1rem;
    }

    .action-group .btn {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }
}
/* ===== ADMIN ===== */

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    color: #333;
}

.admin-hero {
    background: linear-gradient(135deg, #fc2626 22%, #a00000 82%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.admin-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.admin-hero .container {
    max-width: 800px;
    margin: 0 auto;
}

.group-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a3a5f;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.action-group {
    margin-bottom: 2rem;
}

.action-group:last-child {
    margin-bottom: 0;
}

.admin-stats .stat-card {
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.admin-stats .stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Admin Actions Button Styling */
.admin-actions .btn {
    font-size: 1rem !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.admin-actions .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

/* Management Section - Professional Blue tones */
.admin-actions .action-group:nth-child(1) .btn.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: white !important;
}

.admin-actions .action-group:nth-child(1) .btn.btn-success {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: white !important;
}

.admin-actions .action-group:nth-child(1) .btn.btn-info {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    color: white !important;
}

/* Content Section - Green/Teal tones */
.admin-actions .action-group:nth-child(2) .btn.btn-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: white !important;
}

.admin-actions .action-group:nth-child(2) .btn.btn-warning {
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%) !important;
    color: white !important;
}

.admin-actions .action-group:nth-child(2) .btn.btn-info {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%) !important;
    color: white !important;
}

/* System Section - Gray/Blue tones */
.admin-actions .action-group:nth-child(3) .btn.btn-secondary {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    color: white !important;
}

.admin-actions .action-group:nth-child(3) .btn.btn-info {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%) !important;
    color: white !important;
}

.admin-actions .action-group:nth-child(3) .btn.btn-primary {
    background: linear-gradient(135deg, #475569 0%, #334155 100%) !important;
    color: white !important;
}
/* Admin Tabellen */
.table th {
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.badge {
    font-size: 0.75em;
    margin-bottom: 15px;
}

/* Maintenance Popup Styles */
.modal-header.bg-warning {
    background-color: #ffc107 !important;
    color: #212529;
}

.modal-header.bg-warning .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}