@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

body{
    background-color: #0d1b2a;
    color: #ffffff;
    margin: 0;
}

#title_header{
    position: 100%;
    height: 720px;
    align-items: center;
}

#title_bg{
    width: 100%;
    height:100%;
    position: relative;
}

#title_bg img{
    width: 100%;
    height: 720px;
    display: block;  
 
    -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,1)60%, rgba(0,0,0,0.1) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1)60%, rgba(0,0,0,0.1)100%);
}

.glass-fade-container{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 185px;

    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);

    background: rgba(255,255,255,0.45);
    
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);

    display: flex;
    justify-content: center;
    align-items: center;
}

#header-text{
    position:relative;
    top: -210px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    
    color:#f3ed92;
    text-shadow: 0 0 5px #000000,0 0 10px #000000,0 0 20px #000000;
    z-index: 2;
    
    max-width: 800px;
    text-align: center;
    z-index:2;

    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size:25px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.6;
    

}

#Kachel_Container{
    display: flex;
    justify-content: space-between;

    width: 100%;
    max-width: 1900px;
    margin: -65px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.Kachel{
    display: flex;
    align-items: center;
    width: 35%;
    height: 180px;
    background: rgba(13,27,42,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(13, 27, 42, 0.15);
    border-radius: 25px;
    overflow: visible;
    padding: 15px;
    box-sizing: border-box;
    text-decoration: none;
    transition: all 0.3s ease;
}

.Kachel:hover{
    transform: scale(1.02);
    background: rgba(13, 27, 42, 0.85);
}

.kachel-apps:hover {
    /* 1. Schatten: Enger, heller Kern | 2. Schatten: Breites, weiches Auslaufen */
    box-shadow: 0 0 15px 2px rgba(0, 230, 255, 0.9), 
                0 0 40px 8px rgba(0, 180, 216, 0.5); 
    border-color: rgba(0, 230, 255, 0.8);
}

/* --- Spezifischer Neon-Glow fÃ¼r die Fotografie Kachel (Warmes Gold) --- */
.kachel-fotografie:hover {
    /* 1. Schatten: Enger, hellgelber Kern | 2. Schatten: Breites, goldenes Auslaufen */
    box-shadow: 0 0 15px 2px rgba(255, 246, 213, 0.9), 
                0 0 40px 8px rgba(243, 237, 146, 0.5); 
    
    /* Der Rand leuchtet im helleren Gold-Ton auf */
    border-color: rgba(255, 246, 213, 0.8);
}

.kachel-bild-box{
    width: 35%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}




.kachel-bild-box img{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


#bild-box-links{
    width: 200;
    height: auto;
}


.kachel-text-box{
    width: 65%;
    padding-left: 75px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.kachel-text-box h3{
    margin: 0 0 5px 0;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 1px;
}

.kachel-text-box p{
    margin: 0 0 16px 0;
    color: #cdd6f4;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
}

.kachel-button-fake{
    color: #fff6d5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    font-weight: bold;

}

.icon{
    width: 5px;
    height: auto;
}

/* ====================== RESPONSIVE - MOBILE ====================== */
@media (max-width: 768px) {

    /* --- Hero Bild --- */
    #title_header {
        height: auto;
        min-height: 450px;
        position: relative;
    }

    #title_bg img {
        width: 100%;
        height: auto;
        
        object-fit: cover;
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0.08) 100%);
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0.08) 100%);
    }

    /* --- Milchglas-Kachel --- */
    .glass-fade-container {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100vw;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 165px;
        padding: 20px 18px 20px;
        
        background: rgba(255, 255, 255, 0.24);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255,255,255,0.28);
        z-index: 1;
    }

    /* --- Header Text (wichtig: alle Desktop-Werte zurücksetzen) --- */
    #header-text {
        position: relative;
        top: 0 !important;           /* wichtig */
        left: 0 !important;
        transform: none !important;  /* falls translateX im Desktop aktiv ist */
        
        width: 100vw;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 12px;
        text-align: center;
        margin-top: -30px !important;            /* hier kannst du selbst feinjustieren */
        margin-bottom: 50px;
        

        color: #f3ed92;
        font-size: 15px;
        line-height: 1.58;
        text-align: center;
        text-shadow: 0 2px 12px rgba(0,0,0,0.95),
                     0 4px 20px rgba(0,0,0,0.8);
        z-index: 3;
    }

    /* --- Kachel-Container --- */
    #Kachel_Container {
        margin: -38px auto 45px;
        padding: 0 15px;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        z-index: 4;
    }

    /* --- Kacheln --- */
    .Kachel {
        width: 100%;
        max-width: 440px;
        background: rgba(15, 30, 48, 0.88);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border: 1.5px solid rgba(255, 255, 255, 0.2);
        border-radius: 24px;
        padding: 16px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
        transition: all 0.3s ease;
    }

    /* Apps-Kachel etwas kompakter */
    .Kachel:first-child {
        min-height: 145px;
    }

    .Kachel:hover {
        background: rgba(15, 30, 48, 0.95);
        border-color: rgba(0, 230, 255, 0.4);
        transform: translateY(-6px);
    }

    .kachel-bild-box {
        width: 29%;
    }

    .kachel-text-box {
        width: 71%;
        padding-left: 22px;
    }

    .kachel-text-box h3 {
        font-size: 15.5px;
        margin-bottom: 6px;
    }

    .kachel-text-box p {
        font-size: 13.1px;
        line-height: 1.45;
        color: #e0e7ff;
    }

    /* Sehr kleine Displays */
    @media (max-width: 480px) {
        #title_bg img {
            height: 410px;
        }
        
        .glass-fade-container {
            min-height: 158px;
            padding: 18px 15px 22px;
        }
        
        #header-text {
            font-size: 16.8px;
            margin-top: -4px;
        }
    }
}