/* ========================================
   RESPONSIVE HOME CSS - Karolin Wunderlich
   Nur für die Startseite (index.html)
   ======================================== */

@media screen and (max-width: 768px) {
    
    /* ========================================
       STARTSEITE - BILDCONTAINER
       ======================================== */
    
    .image-row {
        width: 100%;
        margin: 1rem 0;
        padding: 0 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .image-container {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }
    
    .image-container img {
        width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    /* ========================================
       CIRCLE-BUTTON
       ======================================== */
    
    .circle-button {
        position: absolute !important;
        left: 10px !important;
        bottom: 10px !important;
        top: auto !important;
        transform: none !important;
        width: 100px !important;
        height: 100px !important;
        font-size: 14px !important;
        line-height: 1.2 !important;
        padding: 10px !important;
        z-index: 10;
    }
    
    /* ========================================
       IMAGE-TEXT-ROW
       ======================================== */
    
    .image-text-row {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .image-text-col,
    .image-side,
    .text-side {
        width: 100% !important;
        max-width: 100%;
    }
    
    .image-side {
        padding: 0.5rem !important;
        order: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .image-side img {
        width: 100% !important;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    .text-side {
        padding: 1rem !important;
        order: 2;
    }
    
    .text-side p {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left;
    }
}

/* ========================================
   KLEINE SMARTPHONES (bis 480px)
   ======================================== */

@media screen and (max-width: 480px) {
    
    .circle-button {
        position: absolute !important;
        width: 80px !important;
        height: 80px !important;
        font-size: 11px !important;
        left: 5px !important;
        bottom: 5px !important;
    }
    
    .image-text-col {
        padding: 0.5rem !important;
    }
    
    .image-side {
        padding: 0.25rem !important;
    }
    
    .text-side {
        padding: 0.75rem !important;
    }
}

/* ========================================
   TABLET (769px - 1024px)
   ======================================== */

@media screen and (min-width: 769px) and (max-width: 1024px) {
    
    .circle-button {
        width: 100px;
        height: 100px;
        font-size: 14px;
    }
}