/* ================================================================
   LEISTUNGEN-SEITE - RESPONSIVE OPTIMIERUNG
   ================================================================ */

/* Mobile Extra Small (320px - 480px) */
@media (max-width: 480px) {
    .leistungen-header {
        padding: 40px 20px 30px;
    }
    
    .leistungen-header h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .leistungen-header p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .leistungen-container {
        padding: 30px 20px;
    }
    
    .leistungen-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .leistung-card {
        border-radius: 15px;
        padding: 20px;
        text-align: center;
    }
    
    .leistung-image {
        height: 160px;
        border-radius: 12px;
        margin-bottom: 15px;
    }
    
    .leistung-image img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .leistung-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .leistung-card p {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 15px;
    }
    
    .leistung-preis {
        font-size: 16px;
        font-weight: 600;
        color: rgb(191, 151, 97);
        margin-bottom: 15px;
    }
    
    .leistung-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 20px;
    }
    
    .cta-section {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .cta-section p {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        max-width: 280px;
        padding: 15px 25px;
        font-size: 16px;
        text-align: center;
    }
}

/* Mobile Small (481px - 600px) */
@media (min-width: 481px) and (max-width: 600px) {
    .leistungen-header {
        padding: 45px 25px 35px;
    }
    
    .leistungen-header h1 {
        font-size: 36px;
        margin-bottom: 18px;
    }
    
    .leistungen-header p {
        font-size: 17px;
    }
    
    .leistungen-container {
        padding: 35px 25px;
    }
    
    .leistungen-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .leistung-card {
        border-radius: 16px;
        padding: 25px;
    }
    
    .leistung-image {
        height: 180px;
        border-radius: 14px;
        margin-bottom: 18px;
    }
    
    .leistung-card h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .leistung-card p {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .leistung-preis {
        font-size: 17px;
        margin-bottom: 18px;
    }
    
    .leistung-button {
        width: 100%;
        padding: 14px 25px;
        font-size: 15px;
        border-radius: 22px;
    }
    
    .cta-section {
        padding: 45px 25px;
    }
    
    .cta-section h2 {
        font-size: 26px;
        margin-bottom: 14px;
    }
    
    .cta-section p {
        font-size: 15px;
        margin-bottom: 28px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 18px;
    }
    
    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 16px 28px;
        font-size: 17px;
    }
}

/* Tablet Portrait (601px - 768px) */
@media (min-width: 601px) and (max-width: 768px) {
    .leistungen-header {
        padding: 50px 30px 40px;
    }
    
    .leistungen-header h1 {
        font-size: 40px;
        margin-bottom: 20px;
    }
    
    .leistungen-header p {
        font-size: 18px;
    }
    
    .leistungen-container {
        padding: 40px 30px;
    }
    
    .leistungen-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .leistung-card {
        border-radius: 18px;
        padding: 25px;
    }
    
    .leistung-image {
        height: 160px;
        border-radius: 15px;
        margin-bottom: 18px;
    }
    
    .leistung-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .leistung-card p {
        font-size: 14px;
        margin-bottom: 16px;
    }
    
    .leistung-preis {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .leistung-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 20px;
    }
    
    .cta-section {
        padding: 50px 30px;
    }
    
    .cta-section h2 {
        font-size: 28px;
        margin-bottom: 16px;
    }
    
    .cta-section p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 180px;
        padding: 18px 25px;
        font-size: 16px;
    }
}

/* Tablet Landscape (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .leistungen-header {
        padding: 55px 35px 45px;
    }
    
    .leistungen-header h1 {
        font-size: 44px;
        margin-bottom: 22px;
    }
    
    .leistungen-header p {
        font-size: 18px;
    }
    
    .leistungen-container {
        padding: 45px 35px;
    }
    
    .leistungen-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .leistung-card {
        border-radius: 20px;
        padding: 30px;
    }
    
    .leistung-image {
        height: 180px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    
    .leistung-card h3 {
        font-size: 22px;
        margin-bottom: 14px;
    }
    
    .leistung-card p {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .leistung-preis {
        font-size: 17px;
        margin-bottom: 18px;
    }
    
    .leistung-button {
        width: 100%;
        padding: 14px 25px;
        font-size: 15px;
        border-radius: 22px;
    }
    
    .cta-section {
        padding: 55px 35px;
    }
    
    .cta-section h2 {
        font-size: 30px;
        margin-bottom: 18px;
    }
    
    .cta-section p {
        font-size: 17px;
        margin-bottom: 32px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 25px;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 200px;
        padding: 19px 28px;
        font-size: 17px;
    }
}

/* Desktop Small (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
    .leistungen-container {
        padding: 50px 40px;
    }
    
    .leistungen-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .leistung-card {
        border-radius: 20px;
        padding: 30px;
    }
    
    .leistung-image {
        height: 200px;
        border-radius: 16px;
        margin-bottom: 20px;
    }
    
    .leistung-card h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .leistung-card p {
        font-size: 15px;
        margin-bottom: 18px;
    }
    
    .leistung-preis {
        font-size: 17px;
        margin-bottom: 18px;
    }
    
    .leistung-button {
        width: 100%;
        padding: 14px 25px;
        font-size: 15px;
        border-radius: 22px;
    }
    
    .cta-section {
        padding: 60px 40px;
    }
    
    .cta-section h2 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .cta-section p {
        font-size: 18px;
        margin-bottom: 35px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 28px;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 220px;
        padding: 20px 30px;
        font-size: 18px;
    }
}

/* Desktop Large (1367px+) */
@media (min-width: 1367px) {
    .leistungen-container {
        padding: 60px 50px;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .leistungen-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .leistung-card {
        border-radius: 22px;
        padding: 35px;
    }
    
    .leistung-image {
        height: 220px;
        border-radius: 18px;
        margin-bottom: 25px;
    }
    
    .leistung-card h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .leistung-card p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .leistung-preis {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .leistung-button {
        width: 100%;
        padding: 16px 30px;
        font-size: 16px;
        border-radius: 25px;
    }
    
    .cta-section {
        padding: 70px 50px;
    }
    
    .cta-section h2 {
        font-size: 36px;
        margin-bottom: 22px;
    }
    
    .cta-section p {
        font-size: 20px;
        margin-bottom: 40px;
    }
    
    .cta-buttons {
        flex-direction: row;
        gap: 35px;
        justify-content: center;
    }
    
    .cta-button {
        max-width: 250px;
        padding: 22px 35px;
        font-size: 19px;
    }
}

/* Ultra Wide Screens (1920px+) */
@media (min-width: 1920px) {
    .leistungen-container {
        padding: 80px 60px;
        max-width: 1600px;
    }
    
    .leistungen-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }
    
    .leistung-card {
        border-radius: 25px;
        padding: 40px;
    }
    
    .leistung-image {
        height: 250px;
        border-radius: 20px;
        margin-bottom: 30px;
    }
    
    .leistung-card h3 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    .leistung-card p {
        font-size: 17px;
        margin-bottom: 22px;
    }
    
    .leistung-preis {
        font-size: 20px;
        margin-bottom: 22px;
    }
    
    .leistung-button {
        width: 100%;
        padding: 18px 35px;
        font-size: 17px;
        border-radius: 28px;
    }
    
    .cta-section {
        padding: 90px 60px;
    }
    
    .cta-section h2 {
        font-size: 40px;
        margin-bottom: 25px;
    }
    
    .cta-section p {
        font-size: 22px;
        margin-bottom: 45px;
    }
    
    .cta-buttons {
        gap: 40px;
    }
    
    .cta-button {
        max-width: 280px;
        padding: 25px 40px;
        font-size: 20px;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .leistung-button {
        min-height: 50px;
    }
    
    .cta-button {
        min-height: 50px;
    }
    
    .leistung-card:hover {
        transform: none;
    }
    
    .leistung-button:hover {
        transform: none;
    }
    
    .cta-button:hover {
        transform: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .leistung-card {
        border: 2px solid rgb(191, 151, 97);
    }
    
    .leistung-button {
        border: 2px solid rgb(191, 151, 97);
    }
    
    .cta-button {
        border: 2px solid rgb(191, 151, 97);
    }
    
    .leistung-image {
        border: 2px solid rgb(191, 151, 97);
    }
}

/* Print Styles */
@media print {
    .leistungen-container {
        padding: 20px;
    }
    
    .leistungen-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .leistung-card {
        border: 1px solid #000;
        padding: 20px;
    }
    
    .leistung-image {
        height: 150px;
        border: 1px solid #000;
    }
    
    .leistung-button,
    .cta-section {
        display: none;
    }
    
    .leistung-card h3,
    .leistung-preis {
        color: #000;
    }
}
