/* ============================================================================
   ZEIG WAS DU KANNST - MODERN WHITE CARD STYLE
   ============================================================================ */

/* Reset und Basis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, 
        #f4e4bc 0%, 
        #d4a574 25%, 
        #b8956a 50%, 
        #8b5a3c 75%, 
        #5c3317 90%, 
        #3d1a00 100%);
    background-attachment: fixed;
    background-size: cover;
    color: #1a1a1a;
    line-height: 1.6;
    min-height: 100vh;
}

/* ============================================================================
   FLOATING BACK BUTTON
   ============================================================================ */

.floating-back {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.floating-back:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.floating-back span {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.floating-back:hover span {
    transform: translateX(-3px);
}

/* ============================================================================
   MAIN LAYOUT
   ============================================================================ */

.admin-container {
    min-height: 100vh;
}

.admin-content {
    min-height: 100vh;
    padding: 60px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================================================
   PAGE HEADER
   ============================================================================ */

.backup-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 0.8s ease;
    position: relative;
    overflow: hidden;
}

.backup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    animation: shimmer 3s ease infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.backup-header h1 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    letter-spacing: -1px;
}

.backup-header .icon {
    font-size: 48px;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.backup-header .subtitle {
    font-size: 20px;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

.backup-section {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.backup-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.backup-section:nth-child(2) { animation-delay: 0.1s; }
.backup-section:nth-child(3) { animation-delay: 0.2s; }
.backup-section:nth-child(4) { animation-delay: 0.3s; }
.backup-section:nth-child(5) { animation-delay: 0.4s; }
.backup-section:nth-child(6) { animation-delay: 0.5s; }
.backup-section:nth-child(7) { animation-delay: 0.6s; }

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.section-header h2 {
    margin: 0;
    color: #1a1a1a;
    font-size: 1.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ============================================================================
   IMAGE SECTION
   ============================================================================ */

.image-container {
    text-align: center;
    margin: 2rem 0;
}

.project-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.02);
}

.image-caption {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
}

.source-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.source-link:hover {
    color: #2563eb;
    border-bottom-color: #2563eb;
}

/* ============================================================================
   DOWNLOAD SECTION
   ============================================================================ */

.download-section {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    margin-top: 2rem;
}

/* ============================================================================
   CONTENT TEXT
   ============================================================================ */

.content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #374151;
}

.content-text p {
    margin-bottom: 1.5rem;
}

.content-text .lead {
    font-size: 1.15rem;
    color: #1f2937;
    font-weight: 500;
    margin-bottom: 2rem;
}

.content-text strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* ============================================================================
   PHASES CONTAINER
   ============================================================================ */

.phases-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.phase-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #3b82f6;
}

.phase-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.phase-card h3 {
    margin: 1rem 0 1rem 0;
    color: #1a1a1a;
    font-size: 1.25rem;
    font-weight: 700;
}

.phase-card p {
    color: #4b5563;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============================================================================
   DATA GRID
   ============================================================================ */

.data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.data-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 2px solid #bfdbfe;
    transition: all 0.3s ease;
    cursor: default;
}

.data-item:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.data-item i {
    font-size: 1.5rem;
    color: #3b82f6;
}

.data-item span {
    color: #1f2937;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ============================================================================
   ASSESSMENT SECTION
   ============================================================================ */

.assessment-container {
    margin-top: 1.5rem;
}

.assessment-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
    border-radius: 16px;
    border: 2px solid #fde68a;
}

.assessment-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.assessment-item .percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.assessment-item .label {
    font-size: 1rem;
    color: #92400e;
    font-weight: 600;
}

/* ============================================================================
   FEATURES LIST
   ============================================================================ */

.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.features-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.25rem;
    color: #374151;
    line-height: 1.8;
    font-size: 1.05rem;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #22c55e;
    font-weight: 700;
    font-size: 1.25rem;
}

.features-list li strong {
    color: #1a1a1a;
    font-weight: 700;
}

/* ============================================================================
   CONCLUSION SECTION
   ============================================================================ */

.conclusion-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #86efac;
}

.conclusion-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1f2937;
    margin-bottom: 2rem;
}

.conclusion-content p {
    margin-bottom: 1.25rem;
}

.conclusion-content strong {
    color: #059669;
    font-weight: 700;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.cta-section {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
    border: 2px solid #e5e7eb;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.cta-section h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    color: #4b5563;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-secondary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 17px;
}

/* ============================================================================
   BADGES
   ============================================================================ */

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.badge-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* ============================================================================
   INFO BOXES
   ============================================================================ */

.backup-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #93c5fd;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.backup-info p {
    margin: 0 0 1rem 0;
    color: #1e40af;
    font-size: 1.05rem;
    line-height: 1.7;
}

.backup-info strong {
    color: #1e3a8a;
    font-weight: 700;
}

/* ============================================================================
   FORM ELEMENTS
   ============================================================================ */

.form-hint {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

/* ============================================================================
   ICONS (EMOJI FALLBACK)
   ============================================================================ */

.fas:before { 
    font-style: normal; 
    display: inline-block; 
    margin-right: 0.5em; 
}

.fa-image:before { content: "🖼️"; }
.fa-download:before { content: "⬇️"; }
.fa-info-circle:before { content: "ℹ️"; }
.fa-tasks:before { content: "📋"; }
.fa-trophy:before { content: "🏆"; }
.fa-chart-pie:before { content: "📊"; }
.fa-star:before { content: "⭐"; }
.fa-graduation-cap:before { content: "🎓"; }
.fa-brain:before { content: "🧠"; }
.fa-users:before { content: "👥"; }
.fa-lightbulb:before { content: "💡"; }
.fa-comments:before { content: "💬"; }
.fa-certificate:before { content: "📜"; }
.fa-briefcase:before { content: "💼"; }
.fa-owl:before { content: "🦉"; }
.fa-play:before { content: "▶️"; }

/* ============================================================================
   ANIMATIONS
   ============================================================================ */

@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 DESIGN
   ============================================================================ */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .phases-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .backup-header h1 {
        font-size: 36px;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .backup-header .subtitle {
        font-size: 16px;
    }
    
    .floating-back {
        top: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .phases-container {
        grid-template-columns: 1fr;
    }
    
    .data-grid {
        grid-template-columns: 1fr;
    }
    
    .assessment-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .backup-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .admin-content {
        padding: 30px 0;
    }
    
    .backup-header {
        padding: 25px;
    }
    
    .backup-header h1 {
        font-size: 28px;
    }
    
    .backup-header .icon {
        font-size: 36px;
    }
    
    .backup-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .phase-card {
        padding: 1.25rem;
    }
    
    .assessment-item .percentage {
        font-size: 2rem;
    }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
    body {
        background: white;
        color: black;
    }
    
    .floating-back, .btn, .cta-section {
        display: none !important;
    }
    
    .container {
        max-width: none;
        padding: 1rem;
    }
    
    .backup-header, .backup-section {
        background: white;
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .backup-header h1 {
        color: black;
    }
    
    .data-item, .phase-card {
        background: #f5f5f5;
        border: 1px solid #ddd;
    }
}

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

@media (prefers-color-scheme: dark) {
    /* Optional: Dark mode support */
    .backup-section {
        background: rgba(255, 255, 255, 0.95);
    }
}