/* --- GLOBAL STYLES --- */
:root {
    --unity-blue: #0078d4;
    --asset-green: #28a745; /* Farbe für Preise/Free-Tags */
    --dark-text: #1a1a1a;
    --light-gray: #f8f8f8;
    --border-color: #eeeeee;
    --nav-height: 80px;
}

* { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: var(--dark-text);
    line-height: 1.6;
}

/* --- NAVIGATION --- */
header {
    width: 100%;
    height: var(--nav-height);
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.nav-brand {
    font-weight: 800;
    text-decoration: none;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.back-link {
    text-decoration: none;
    color: #888;
    font-weight: 600;
    font-size: 0.85rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.back-link:hover { color: var(--unity-blue); }

/* --- MAIN CONTENT --- */
main {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 25px;
}

.intro-section {
    margin-bottom: 50px;
    border-left: 6px solid var(--asset-green); /* Asset Seite bekommt grünen Akzent */
    padding-left: 25px;
}

.intro-section h1 {
    font-size: 2.8rem;
    margin: 0;
}

/* --- FILTER BAR --- */
.filter-bar {
    margin-bottom: 40px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    color: #777;
    transition: 0.3s;
}

.filter-btn.active {
    background: var(--dark-text);
    color: #fff;
    border-color: var(--dark-text);
}

/* --- ASSET CARDS --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f4f4f4;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
}

.price-tag {
    float: right;
    background: rgba(40, 167, 69, 0.1);
    color: var(--asset-green);
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
}

.card-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
}

/* --- DOWNLOAD BUTTON --- */
.download-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--unity-blue);
    color: white;
    text-decoration: none;
    padding: 12px;
    margin-top: 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.download-btn:hover {
    background: #005a9e;
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.tech-tags {
    margin-top: 15px;
    display: flex;
    gap: 5px;
}

.tag {
    background: var(--light-gray);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
}

/* --- FOOTER --- */
footer {
    background: var(--light-gray);
    padding: 50px 20px;
    text-align: center;
    margin-top: 80px;
    border-top: 1px solid var(--border-color);
}