/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/Other/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : 28.07.2026, 17:12:16
    Author     : swg1810
*/

/* Grundlegendes Body-Styling mit Hintergrundbild */
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(rgba(10, 16, 20, 0.95), rgba(15, 23, 42, 0.85)), 
                url('../images/Logo_Neu_WOLFiNet.png') center/cover no-repeat fixed;
}

/* HINTERGRUND-SCHLEIER MIT SCANLINES (RUSTER-LINIEN) */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.25),
        rgba(0, 0, 0, 0.25) 2px,
        transparent 2px,
        transparent 4px
    );
    background-color: rgba(0, 0, 0, 0); 
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease;
    z-index: 1;
    pointer-events: none; 
}

/* Aktiviert Unschärfe beim Hovern über eine Karte */
body:has(.project-card:hover)::before {
    background-color: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(8px);          
    -webkit-backdrop-filter: blur(8px);
}

/* ZENTRIERUNG & PAGE-WRAPPER */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

/* HERO-INTRO */
.hero-intro {
    text-align: center;
    margin-bottom: 35px;
    font-family: system-ui, -apple-system, sans-serif;
}

.hero-intro h1 {
    margin: 0;
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffffff;
    text-transform: none;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-intro p {
    margin: 8px 0 0 0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
}

/* RASTER & KARTEN-DESIGN */
.projects-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    max-width: 1100px;
}

.project-card {
    display: block;
    position: relative;
    width: 100%;
    max-width: 360px;
    padding: 24px;
    border-radius: 16px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
    
    /* Verhindert Textunschärfe bei CSS-Animationen */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    /* Übergänge gezielt definieren statt transition: all */
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                box-shadow 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.35s ease,
                background 0.35s ease,
                opacity 0.35s ease,
                filter 0.35s ease;
}

/* Spezifischer Inhalt für Support-Karten */
.support-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-wrapper {
    background: rgba(0, 0, 0, 0.3);
    padding: 16px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.support-card-content h2 {
    color: #ffffff;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.4rem;
    margin: 0 0 8px 0;
}

.support-card-content p {
    color: rgba(255, 255, 255, 0.65);
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* FOKUS & HOVER-EFFEKTE */
.projects-container:hover .project-card {
    opacity: 0.45;
    filter: brightness(0.7) blur(1px);
}

.projects-container .project-card:hover {
    opacity: 1;
    filter: brightness(1) blur(0px);
    
    /* scale(1.02) entfernt, dafür leicht mehr TranslateY und krasse Tiefe durch Shadow */
    transform: translateY(-8px) translateZ(0);
    
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 85, 34, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5),
                0 0 25px rgba(255, 85, 34, 0.25);
}

/* BADGES */
.badge {
    position: absolute;
    top: -10px;
    right: 15px;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.35s ease;
}

.badge-active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.project-card:hover .badge {
    transform: translateY(-2px);
}

/* KONTAKT-BOX UNTEN RECHTS */
.contact-box {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffff;
    padding: 10px 15px;
    border-radius: 6px;
    font-family: sans-serif;
    font-size: 13px;
    text-align: right;
    z-index: 9999;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-box a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.contact-box a:hover {
    text-decoration: underline;
}

.contact-box span {
    display: block;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #cccccc;
    margin-top: 2px;
}
