/* ===================================================================
   WARUM-ICH/RESPONSIVE.CSS - Media Queries for Warum-Ich Page
   =================================================================== */

@media (max-width: 1024px) {
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .principles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .architecture-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .why-hero {
        padding: 120px 0 80px;
        min-height: auto;
    }

    .stack-grid {
        grid-template-columns: 1fr;
    }

    .principles-grid {
        grid-template-columns: 1fr;
    }

    .comparison-grid {
        flex-direction: column;
    }

    .comparison-card {
        max-width: 100%;
    }

    .vs-badge {
        margin: -16px 0;
        z-index: 10;
    }

    .flow-diagram {
        flex-direction: column;
    }

    .flow-connector {
        transform: rotate(90deg);
    }

    .db-diagram {
        flex-direction: column;
        align-items: center;
    }

    .db-relation {
        transform: rotate(90deg);
    }

    .cta-card {
        padding: 40px 24px;
    }

    .cta-card h2 {
        font-size: 1.5rem;
    }

    /* Iceberg Responsive */
    .iceberg-above,
    .iceberg-below {
        padding: 32px 20px;
    }

    .user-experience-showcase {
        flex-direction: column;
        gap: 32px;
    }

    .phone-frame {
        width: 180px;
        height: 360px;
    }

    .benefit-cards {
        max-width: 100%;
        width: 100%;
    }

    .infra-component {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .component-info {
        text-align: center;
    }

    .speed-cards {
        flex-direction: column;
    }

    .speed-vs {
        transform: rotate(90deg);
    }
}

@media (max-width: 480px) {
    .tech-tags {
        gap: 6px;
    }

    .tech-tag {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .principle-tags span {
        font-size: 0.65rem;
    }

    .db-table {
        min-width: 100%;
    }

    /* Iceberg Small Mobile */
    .phone-frame {
        width: 160px;
        height: 320px;
    }

    .success-checkmark {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .waterline-label {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .component-stats .stat-value {
        font-size: 1.5rem;
    }

    .speed-card {
        min-width: 100%;
        padding: 24px;
    }
}
