@media (max-width: 480px) {
    .header {
        min-height: 48px;
    }

    .navbar {
        padding: 0.25rem 0;
    }

    .nav-logo-link {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-link--about {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        display: flex;
        align-items: center;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu.mobile-active {
        width: min(280px, 80vw);
        padding: 64px 20px 2rem;
    }

    .nav-menu.mobile-active .nav-item.has-dropdown {
        margin-bottom: 0.5rem;
    }

    .nav-menu.mobile-active {
        display: flex !important;
    }

    .hero {
        padding-top: 140px;
        padding-bottom: 60px;
        min-height: 80vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
        text-align: left;
        max-width: 300px;
        margin: 0 auto 2rem;
    }

    .services {
        padding: 60px 0;
    }

    .services-category-nav {
        gap: 0.5rem;
    }

    .category-chip {
        width: 100%;
        justify-content: center;
    }

    .services-grid {
        gap: 2.5rem;
    }

    .service-category-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .related-services .services-grid {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
    }

    .service-card {
        padding: 1.5rem;
        margin: 0 auto;
        max-width: 400px;
    }

    .service-card,
    .service-card * {
        -webkit-tap-highlight-color: transparent;
    }

    .service-card {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .btn,
    .nav-link,
    .category-chip,
    .dropdown-link {
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        user-select: none;
    }

    .service-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    .service-detail-heading {
        justify-content: center;
        gap: 1rem;
    }

    .service-detail-heading .service-detail-title {
        text-align: center;
    }

    .service-detail-heading .price-value {
        margin-left: 0;
    }

    .service-detail-header.has-image .service-detail-image {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .service-detail-info {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 0 1 auto;
        align-self: stretch;
    }

    .service-detail-price {
        width: 100%;
        max-width: 320px;
        align-items: center;
        text-align: center;
        gap: 0.5rem;
        min-width: auto;
    }

    .service-detail-meta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin: 0;
    }

    .service-detail-meta .price-label {
        margin-left: 0;
        text-align: center;
        white-space: normal;
    }

    .price-value {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .feature-item {
        justify-content: flex-start;
        padding: 0.75rem;
        background: var(--color-surface);
        border-radius: 8px;
    }

    .contact-cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .nav-container {
        padding: 0 16px;
    }

    .nav-logo-link {
        font-size: 1.5rem;
    }

    .nav-menu.mobile-active {
        display: flex !important;
        width: min(260px, 85vw);
        padding: 70px 0 2rem;
    }

    .nav-menu.mobile-active .nav-link {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }

    .nav-menu.mobile-active .nav-cta {
        margin: 1rem 1.5rem 0;
        font-size: 0.95rem;
        padding: 10px 16px;
    }
}

/* Mobile Defaults */
.hero {
    padding: 80px 0 40px;
    min-height: 70vh;
}

.hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 0.9rem;
    line-height: 1.5;
}

.hero-buttons .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    min-height: 44px;
}

.services {
    padding: 40px 0;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 0.95rem;
}

.service-card {
    padding: 1.25rem;
}

.service-title {
    font-size: 1.2rem;
}

.service-price {
    font-size: 1.3rem;
}

.service-category {
    font-size: 0.8rem;
    padding: 0.3rem 0.85rem;
    gap: 0.3rem;
}

.service-detail-title {
    font-size: 1.5rem;
    line-height: 1.3;
}

.price-value {
    font-size: 2rem;
}

.service-features {
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.feature-item {
    font-size: 0.9rem;
    padding: 0.5rem;
}

.contact {
    padding: 40px 0;
}

.contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.contact-item i {
    font-size: 1.25rem;
    margin-top: 0;
}

.cta-card {
    padding: 1.5rem 1rem;
}

.cta-card h3 {
    font-size: 1.25rem;
}

.btn-large {
    padding: 14px 24px;
    font-size: 1rem;
    width: 100%;
}

.breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.85rem;
}

.section {
    margin-bottom: 2rem;
}

.contact-cta-section {
    padding: 2rem 0;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 0.95rem;
    }

    .hero-content {
        gap: 3rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .services-grid {
        gap: 3.5rem;
    }

    .service-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        padding: 2rem;
    }

    .service-detail-header {
        gap: 2rem;
        align-items: center;
    }

    .service-detail-header.has-image {
        gap: 2.5rem;
        align-items: flex-start;
    }

    .service-detail-header.has-image .service-detail-image {
        max-width: 280px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .contact-content {
        gap: 3rem;
    }

    .contact-item {
        max-width: none;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {

    /* Mobile dropdown: make the dropdown fit inside the opened mobile menu
       — no left indent, full available width and box-sizing to avoid overflow */
    .dropdown-menu {
        position: static;
        width: 100%;
        padding: 0.25rem 0;
        margin-top: 0.25rem;
        box-shadow: none;
        border-radius: 0;
        gap: 0.5rem;
        background: transparent;
        opacity: 1;
        transform: none;
        box-sizing: border-box;
        padding-left: 0;
    }

    /* Ensure dropdown inside the mobile panel uses full width and no extra padding */
    .nav-menu.mobile-active .nav-item.has-dropdown .dropdown-menu {
        width: 100%;
        padding-left: 0;
    }

    .nav-item.has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .nav-item.has-dropdown.open .dropdown-menu {
        display: flex;
    }

    .dropdown-link {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid rgba(43, 24, 16, 0.18);
    }

    .dropdown-link:last-child {
        border-bottom: none;
    }

    .nav-item.has-dropdown::after {
        display: none;
    }
}

@media (max-width: 768px) {
    #impressum-links .impressum-links-grid {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    #impressum-links .impressum-link-item {
        text-align: center;
    }
}