/* GitCover KMU-Benefit Präsentation - Hauptstylesheet */
/* © 2025 Coverflex Project UG (haftungsbeschränkt) */

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== CSS Custom Properties ===== */
:root {
    --primary: #0a0e27;
    --secondary: #1a1f3a;
    --accent: #00d4ff;
    --success: #4ade80;
    --warning: #fb923c;
    --danger: #f87171;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border-color: rgba(0, 212, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #00d4ff, #0891b2);
    --gradient-success: linear-gradient(135deg, #4ade80, #22c55e);
    --gradient-warning: linear-gradient(135deg, #fb923c, #ea580c);
}

/* ===== Body & Typography ===== */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--primary);
    color: var(--text);
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent), #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text);
}

h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

h5 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

p, li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

ul {
    list-style: none;
    padding-left: 1.5rem;
}

ul li::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* No bullets for specific lists */
.no-bullets {
    list-style: none;
    padding-left: 0;
}

.no-bullets li::before {
    content: none;
}

/* ===== Layout Components ===== */
.slide {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

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

/* ===== Cards & Components ===== */
.card {
    background: var(--secondary);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

/* ===== Icons ===== */
.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.icon-wrapper svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

.icon-wrapper.alt {
    background: var(--gradient-accent);
}

.icon-wrapper.success {
    background: var(--gradient-success);
}

.icon-wrapper.warning {
    background: var(--gradient-warning);
}

/* ===== Timeline ===== */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideIn 0.6s forwards;
    animation-delay: var(--delay);
}

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

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-right: 1.5rem;
    color: white;
}

.timeline-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: none;
    stroke-width: 2;
}

/* ===== Statistics ===== */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--secondary), rgba(0, 212, 255, 0.1));
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Progress Bars ===== */
.progress-bar {
    background: var(--secondary);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 1rem 0;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    animation: grow 1.5s ease-out forwards;
    animation-delay: 0.5s;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes grow {
    to { transform: scaleX(1); }
}

/* ===== Navigation ===== */
.nav-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 1rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: var(--accent);
    transform: scale(1.5);
}

.nav-dot:hover {
    background: rgba(0, 212, 255, 0.6);
    transform: scale(1.3);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

/* ===== Tables ===== */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.comparison-table th {
    background: var(--secondary);
    padding: 1rem;
    text-align: left;
    color: var(--accent);
    border-bottom: 2px solid var(--accent);
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table tr:hover {
    background: rgba(0, 212, 255, 0.05);
}

/* ===== Utility Classes ===== */
.highlight {
    color: var(--accent);
    font-weight: 600;
}

.check {
    color: var(--success);
    font-size: 1.5rem;
}

.cross {
    color: var(--danger);
    font-size: 1.5rem;
}

.formula {
    background: var(--secondary);
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    color: var(--accent);
    margin: 1.5rem 0;
    border-left: 4px solid var(--accent);
}

/* ===== Workflow Components ===== */
.workflow-timeline {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.workflow-step {
    text-align: center;
    flex: 1;
    min-width: 120px;
    margin: 1rem;
}

.workflow-arrow {
    color: var(--accent);
    margin: 0 1rem;
    font-size: 1.5rem;
}

/* ===== Logo ===== */
.logo-container {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 50;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.logo-container:hover {
    opacity: 0.8;
}

.logo-svg {
    width: 120px;
    height: auto;
}

/* ===== Wasserzeichen Logo ===== */
.logo-watermark {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 50;
    opacity: 0.25;
    transition: all 0.3s ease;
    pointer-events: none;
}

.logo-watermark:hover {
    opacity: 0.5;
}

.logo-watermark img {
    width: 80px;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4))
            drop-shadow(0 0 16px rgba(255, 255, 255, 0.3))
            drop-shadow(0 0 24px rgba(255, 255, 255, 0.2));
    /* Heller Glow-Effekt für dunklen Hintergrund */
}

/* ===== Logo Claim Box (für Slide 8) ===== */
.logo-claim-box {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff, #f8fafc) !important;
}

.logo-claim-box:hover {
    transform: translateY(-2px);
}

.logo-claim-box img {
    transition: transform 0.3s ease;
}

.logo-claim-box:hover img {
    transform: scale(1.05);
}

/* ===== Legal Footer ===== */
.legal-section {
    background: #050813;
    border-color: rgba(100, 100, 100, 0.3);
}

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

.legal-card {
    background: var(--secondary);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(100, 100, 100, 0.2);
}

.legal-title {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 1rem;
}

.legal-text {
    line-height: 1.8;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ===== Responsive Design ===== */

/* Tablet-optimierte Styles (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
        padding: 0 2rem;
    }

    h1 {
        font-size: clamp(2.5rem, 4vw, 3rem);
    }

    h2 {
        font-size: clamp(2rem, 3.5vw, 2.5rem);
    }

    .card {
        padding: 1.5rem;
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .grid {
        gap: 1.5rem;
    }

    /* Logo-Anpassungen für Tablets */
    .logo-claim-box {
        padding: 0.9rem 1.3rem !important;
    }

    .logo-claim-box img {
        width: 55px !important;
    }
}

/* Mobile und kleine Tablets (768px und kleiner) */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .nav-dots {
        right: 1rem;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-timeline {
        flex-direction: column;
    }
    
    .workflow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
    
    .logo-container {
        bottom: 1rem;
        left: 1rem;
    }

    .logo-svg {
        width: 80px;
    }

    .logo-watermark {
        bottom: 1rem;
        left: 1rem;
    }

    .logo-watermark img {
        width: 60px;
    }

    /* Logo Claim Box responsive (für Slide 8) */
    .logo-claim-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 0.6rem 0.8rem !important;
    }

    .logo-claim-box img {
        width: 50px !important;
        margin-right: 0 !important;
        margin-bottom: 0.4rem !important;
    }

    .logo-claim-box div[style*="border-left"] {
        display: none !important;
    }

    .logo-claim-box div[style*="font-size"] {
        font-size: 0.6rem !important;
    }
}

@media (max-width: 480px) {
    .slide {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 1.5rem;
    }
}

/* ===== Print Styles ===== */
@media print {
    .nav-dots,
    .logo-container {
        display: none;
    }
    
    .slide {
        page-break-after: always;
        min-height: auto;
        padding: 2cm;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        border: 1px solid #ddd;
        background: #f9f9f9;
    }
}