:root {
    --primary-color: #00d2ff;
    --secondary-color: #3a7bd5;
    --bg-dark: #0f172a;
    --text-light: #f8fafc;
    --glass: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
}

/* --- Hintergrund Effekte --- */
.bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-color), transparent 70%);
    filter: blur(100px);
    opacity: 0.2;
    z-index: -1;
    transform: translate(-50%, -50%);
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -50%) scale(1.5); }
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span { color: var(--primary-color); }

.nav-links .nav-item {
    text-decoration: none;
    color: var(--text-light);
    margin-left: 2rem;
    font-weight: 400;
    transition: 0.3s;
    opacity: 0.7;
}

.nav-links .nav-item:hover {
    opacity: 1;
    text-shadow: 0 0 10px var(--primary-color);
}

/* --- Welcome Card --- */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.welcome-card {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.highlight {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Buttons --- */
.cta-group {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.primary {
    background: var(--primary-color);
    color: white;
}

.secondary {
    background: transparent;
    border: 1px solid white;
    color: white;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

/* --- Animationen --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
/* --- Owner Seite Spezifisch --- */
.owner-page {
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.owner-profile {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 30px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
}

/* Profilbild Style */
.profile-image-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.profile-pic {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

/* Name und Info */
.owner-name {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.owner-description {
    line-height: 1.6;
    color: #cbd5e1;
    font-size: 1.1rem;
}

/* Floating Animation für die Karte */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Social Icons Placeholder */
.social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}
/* --- Projects Page Styles --- */
.projects-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

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

.section-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* Project Card */
.project-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.project-description {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.small-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    width: 100%;
}

/* Placeholder Card Style */
.placeholder-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    background: transparent;
    min-height: 350px;
    color: rgba(255, 255, 255, 0.3);
}

.plus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.project-avatar-wrapper {
    width: 290px;
    height: 180px;
    margin: 0 auto 1rem;
}

.project-avatar {
    width: 100%;
    height: 100%;
    border-radius: 11px;
    object-fit: cover;
    border: 5px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}
/* Modal Hintergrund (dunkelt den Rest ab) */
.modal-overlay {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

/* Das eigentliche Popup-Fenster */
.modal-content {
    background: #111827;
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease-out;
}

/* Schließen-Button (X) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* Profilbild im Modal (Rund) */
.modal-profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Hier die gewünschte Rundung */
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.4);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.modal-text {
    color: #cbd5e1;
    line-height: 1.6;
    margin-top: 1rem;
    text-align: left;
}

/* Animation beim Öffnen */
@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
/* Erlaubt dem Overlay zu scrollen, wenn das Modal zu groß ist */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    justify-content: center;
    align-items: flex-start; /* Startet oben, damit man nach unten scrollen kann */
    padding: 40px 0;
    overflow-y: auto; /* Wichtig: Das Overlay wird scrollbar */
}

.modal-content {
    background: #111827;
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 40px;
    border-radius: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    margin: auto; /* Zentriert die Karte im scrollbaren Bereich */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.3s ease-out;
}