/* Beratungsgruppe.Pro - Responsive Styles */
/* ================================================= */

/* ================================================= */
/* TABLET - 768px to 1024px */
/* ================================================= */

@media screen and (max-width: 1024px) {
    /* Typography adjustments */
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Grid adjustments for 2 columns */
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .course-list {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact page */
    .contact-container {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================= */
/* MOBILE - Below 768px */
/* ================================================= */

@media screen and (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.2rem;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    /* Container */
    .container {
        padding: 0 15px;
    }

    /* Section padding */
    .section-padding,
    .section {
        padding: 50px 0;
    }

    /* Navigation */
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 0;
        transition: left 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-menu li {
        width: 100%;
        margin-bottom: 10px;
    }

    .navbar-menu li a {
        display: block;
        width: 100%;
        padding: 15px;
    }

    .navbar-toggle {
        display: flex;
    }

    /* Hero section */
    .hero {
        height: 500px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Grid to 1 column */
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .course-list {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Stats */
    .stat-item h3 {
        font-size: 2.5rem;
    }

    /* Contact page */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .map-container iframe {
        height: 300px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    /* Cookie banner */
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .cookie-text {
        min-width: 100%;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-buttons .btn {
        width: 100%;
    }

    /* CTA Section */
    .cta-section {
        padding: 50px 20px;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    /* Article hero */
    .article-hero {
        height: 300px;
    }

    .article-hero h1 {
        font-size: 1.8rem;
    }

    /* Article content */
    .article-content {
        margin: 40px auto;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.2rem;
    }

    /* Course categories */
    .course-category {
        padding: 25px 20px;
    }

    .course-category h3 {
        font-size: 1.5rem;
    }

    /* FAQ */
    .faq-item {
        padding: 20px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }

    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* Blog cards */
    .blog-card-image {
        height: 200px;
    }

    .blog-card-content {
        padding: 20px;
    }

    /* Team member images */
    .team-member-image {
        width: 150px;
        height: 150px;
    }
}

/* ================================================= */
/* SMALL MOBILE - Below 480px */
/* ================================================= */

@media screen and (max-width: 480px) {
    /* Typography */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

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

    /* Hero */
    .hero {
        height: 450px;
    }

    /* Stats */
    .stat-item h3 {
        font-size: 2rem;
    }

    .stat-item p {
        font-size: 1rem;
    }

    /* Section title */
    .section-title h2 {
        font-size: 1.5rem;
    }

    .section-title p {
        font-size: 1rem;
    }

    /* CTA section */
    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }

    /* Cards */
    .card {
        padding: 20px;
    }

    .card-icon {
        font-size: 2.5rem;
    }

    /* Contact form */
    .contact-form {
        padding: 20px 15px;
    }

    /* FAQ */
    .faq-container {
        padding: 0 10px;
    }

    /* Article hero */
    .article-hero {
        height: 250px;
    }

    .article-hero h1 {
        font-size: 1.5rem;
    }

    /* Course category */
    .course-category {
        padding: 20px 15px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }

    .footer-content {
        gap: 25px;
    }
}

/* ================================================= */
/* LANDSCAPE MODE FOR MOBILE */
/* ================================================= */

@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 400px;
    }

    .article-hero {
        height: 250px;
    }

    .navbar-menu {
        height: calc(100vh - 60px);
        overflow-y: auto;
    }
}

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

@media print {
    .navbar,
    .cookie-banner,
    .hero-buttons,
    .cta-section,
    .btn {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000000;
    }

    a {
        text-decoration: underline;
        color: #000000;
    }

    .section {
        page-break-inside: avoid;
    }
}
