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

body {
    font-family: 'Georgia', serif;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.inner-box {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 3rem;
    min-height: 600px;
}

/* Decorative elements - positioned absolutely but relative to inner-box */
.accent-dots {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #d0d0d0;
    border-radius: 50%;
}

.dot-1 {
    top: 20%;
    left: 10%;
    background: #0074D9;
}

.dot-2 {
    top: 55%;
    right: 8%;
    background: #FF851B;
}

.dot-3 {
    top: 65%;
    left: 12%;
    background: #FF4136;
}

.subtle-line {
    position: absolute;
    background: #4682B4;
    height: 1px;
}

.line-1 {
    top: 35%;
    left: 2%;
    width: 80px;
    background: #3CB371;
    transform: rotate(45deg);
}

.line-2 {
    bottom: 25%;
    right: 2%;
    width: 70px;
    transform: rotate(-30deg);
}

/* Main content structure */
.name {
    font-size: 3rem;
    font-weight: 300;
    color: #2c2c2c;
    letter-spacing: 0.15rem;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 1rem;
    transition: transform 0.3s ease-out;
}

.profession {
    font-size: 0.9rem;
    color: #999;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    transition: transform 0.3s ease-out;
}

/* Center element section */
.center-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    margin: 2rem 0;
    width: 100%;
    max-width: 1000px;
}

.center-element {
    max-height: 350px;
    max-width: 280px;
    border-radius: 15px;
    background: linear-gradient(45deg, #e8e8e8, #f5f5f5);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.center-element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.contact-info {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    min-width: 220px;
}

.contact-item {
    margin-bottom: 1rem;
    font-weight: 400;
    transition: transform 0.3s ease-out;
}

.contact-label {
    color: #888;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-link {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2c2c2c;
    text-decoration: underline;
}

.gallery-link {
    text-align: center;
    margin: 2rem 0;
    transition: transform 0.3s ease-out;
}

.gallery-link a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    transition: color 0.3s ease;
}

.gallery-link a:hover {
    color: #2c2c2c;
}

.bio {
    max-width: 700px;
    text-align: center;
    color: #444;
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    margin: 2rem 0;
    transition: transform 0.3s ease-out;
}

.footer {
    text-align: center;
    margin-top: 3rem;
}

.language-switcher {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #888;
    letter-spacing: 0.1rem;
}

.language-switcher a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.language-switcher a:hover {
    color: #2c2c2c;
}

.language-switcher a.active {
    font-weight: bold;
    color: #555;
}

.impressum {
    font-size: 0.85rem;
}

.impressum a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum a:hover {
    color: #555;
}

/* Gravitational effect - only on desktop */
@media (min-width: 769px) {
    .inner-box:hover .name,
    .inner-box:hover .profession,
    .inner-box:hover .contact-item,
    .inner-box:hover .gallery-link,
    .inner-box:hover .bio {
        transition: transform 0.2s ease-out;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    body {
        align-items: flex-start;
        padding: 2.5rem 1.25rem;
    }
    
    .container {
        height: auto;
        min-height: 100vh;
    }
    
    .inner-box {
        padding: 0;
        min-height: unset;
    }
    
    .name {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .profession {
        font-size: 0.75rem;
        letter-spacing: 0.125rem;
        margin-bottom: 1.875rem;
    }
    
    .center-section {
        flex-direction: column;
        gap: 0;
        margin: 0;
    }
    
    .center-element {
        max-width: 85%;
        max-height: 400px;
        width: auto;
        height: auto;
        min-width: unset;
        min-height: unset;
        margin: 0 auto 1.875rem auto;
    }
    
    .contact-info {
        text-align: center;
        font-size: 0.875rem;
        width: auto;
        min-width: unset;
        margin-bottom: 1.875rem;
    }
    
    .contact-item {
        margin-bottom: 0.75rem;
        transform: none !important;
    }
    
    .contact-label {
        font-size: 0.75rem;
        letter-spacing: 0.0625rem;
        margin-bottom: 0.125rem;
    }
    
    .gallery-link {
        margin: 0 0 1.875rem 0;
    }
    
    .gallery-link a {
        font-size: 1rem;
        letter-spacing: 0.0625rem;
    }
    
    .bio {
        font-size: 0.875rem;
        line-height: 1.5;
        max-width: 100%;
        margin: 0 1.25rem 2.5rem 1.25rem;
    }
    
    .footer {
        margin-top: 1.25rem;
        padding-bottom: 1.875rem;
    }
    
    .language-switcher {
        font-size: 0.875rem;
        letter-spacing: 0.125rem;
        margin-bottom: 0.625rem;
    }
    
    .impressum {
        font-size: 0.8125rem;
    }
    
    .accent-dots, .subtle-line {
        display: none;
    }
}

@media (max-width: 480px) {
    body {
        padding: 1.875rem 0.9375rem;
    }
    
    .name {
        font-size: 1.5rem;
        margin-bottom: 0.375rem;
    }
    
    .profession {
        font-size: 0.6875rem;
        margin-bottom: 1.5625rem;
    }
    
    .center-element {
        max-width: 90%;
        max-height: 350px;
        margin-bottom: 1.5625rem;
    }
    
    .contact-info {
        font-size: 0.8125rem;
        line-height: 1.6;
        margin-bottom: 1.5625rem;
    }
    
    .contact-item {
        margin-bottom: 0.625rem;
    }
    
    .gallery-link {
        margin-bottom: 1.5625rem;
    }
    
    .bio {
        font-size: 0.8125rem;
        line-height: 1.4;
        margin: 0 0.625rem 1.875rem 0.625rem;
    }
    
    .footer {
        padding-bottom: 1.25rem;
    }
    
    .language-switcher {
        font-size: 0.8125rem;
    }
    
    .impressum {
        font-size: 0.75rem;
    }
}
