:root {
    --bg-color: #f8f9fa;
    --text-color: #333333;
    --accent-color: #2c3e50; /* Dunkelblau */
    --highlight-color: #c0392b; /* Akzentrot für "X" oder "Home" */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Hero Section --- */
.hero {
    background-color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
}

.logo {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dot {
    color: var(--highlight-color);
}

/* --- Homebase Button --- */
.homebase-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    transition: all 0.3s ease;
}

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

.homebase-btn svg {
    width: 18px;
    height: 18px;
}

/* --- Container --- */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    flex: 1;
}

/* --- Name Breakdown --- */
.intro {
    text-align: center;
    margin-bottom: 4rem;
}

.name-breakdown {
    font-size: 3rem;
    font-family: var(--font-heading);
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}

.part {
    cursor: default;
    transition: color 0.3s ease;
}

.part:hover {
    color: var(--highlight-color);
}

.part[data-name]:hover::after {
    content: attr(data-name);
    position: absolute;
    font-size: 1rem;
    font-family: var(--font-body);
    margin-top: 3.5rem;
    color: #666;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
    transform: translateX(-50%);
    left: 50%;
}

@keyframes fadeIn {
    to { opacity: 1; margin-top: 4rem; }
}

/* --- Family Grid --- */
.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.member-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
}

.initial {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.member-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}

.age {
    font-size: 0.9rem;
    color: #888;
}

/* --- Placeholder --- */
.gallery-placeholder {
    margin-top: 2rem;
    background: #eeeeee;
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-align: center;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #eee;
}

/* --- Mobile --- */
@media (max-width: 600px) {
    .homebase-btn {
        position: static;
        margin: 1rem auto;
        width: fit-content;
    }
    
    .logo {
        font-size: 3rem;
    }
    
    .name-breakdown {
        font-size: 2.5rem;
    }
}
