/* style.css */
:root {
    --bg-color: #0b0b1a; 
    --text-color: #ffffff;
    --accent-color: #1cfc9f; 
    --grad-start: #7d33eb; 
    --grad-end: #366bf1; 
    
    --font-main: 'Helvetica Neue', Arial, sans-serif;
    --spacing: 2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing);
}

.accent-text {
    color: var(--accent-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Header, Nav & TEXT-LOGO */
.site-header {
    padding: var(--spacing) 0;
    position: sticky;
    top: 0;
    background: rgba(11, 11, 26, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Neues Text-Logo mit Farbverlauf */
.logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-color), #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    display: inline-block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 1.1rem;
    font-weight: 500;
}

.main-nav a.active {
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

/* Hero Section */
.hero {
    padding: 15vh 0;
    background: linear-gradient(135deg, var(--grad-start) 0%, var(--grad-end) 100%);
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.hero h2 {
    color: var(--accent-color);
    font-size: 1.5rem;
    letter-spacing: 6px;
    font-weight: normal;
}

/* Project Grid */
.projects-section {
    padding: 6rem 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
}

.project-card {
    display: block;
    group: hover;
}

.project-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(125, 51, 235, 0.2), rgba(54, 107, 241, 0.2));
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: transform 0.5s ease;
}

.project-card:hover .placeholder-img {
    transform: scale(1.05);
}

/* Neue Regel für Projekt-Bilder (damit nichts abgeschnitten wird) */
.project-foto {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .project-foto {
    transform: scale(1.05);
}

.project-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Projekt Detail Page */
.project-detail {
    padding: 4rem 0;
}

.project-header {
    margin-bottom: 4rem;
}

.project-header h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.project-hero-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    margin-bottom: 4rem;
    border-radius: 8px;
}

.project-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.project-description h2 {
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.project-meta ul {
    list-style: none;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}

.project-meta li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.project-meta strong {
    color: var(--accent-color);
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--accent-color);
    color: var(--bg-color);
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #ffffff;
    color: var(--bg-color);
}

/* Team Page */
.team-section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h1 {
    font-size: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 4rem;
}

.member-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, rgba(125, 51, 235, 0.2), rgba(54, 107, 241, 0.2));
    margin-bottom: 1.5rem;
    border-radius: 4px;
    overflow: hidden;
}

/* Neue Regel für Team-Bilder (Ausfüllend, ohne Verzerrung) */
.team-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.member-info .accent-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 4rem 0;
    margin-top: 4rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
}

.footer-col h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

/* Responsive (Handy) */
@media (max-width: 768px) {
    .project-content {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .project-header h1, .section-header h1 {
        font-size: 2.5rem;
    }
    .header-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
}