/* ==========================================
   CSS Variables & Reset
   ========================================== */
:root {
    --color-bg: #fdfbfa;
    --color-bg-warm: #faf6f4;
    --color-bg-pink: #f9f2f4;
    --color-bg-pink-soft: #fdf8f9;
    --color-text: #2d2a26;
    --color-text-soft: #5c5750;
    --color-text-muted: #9a948b;
    --color-accent: #d4a0a8;
    --color-accent-soft: #f0dde0;
    --color-accent-warm: #d4a07a;
    --color-gold: #c9a227;
    --color-silver: #8a8a8a;
    --color-bronze: #b87333;

    --font-serif: 'Instrument Serif', serif;
    --font-sans: 'Inter', -apple-system, sans-serif;

    --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
    --section-padding: clamp(60px, 10vh, 100px);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--color-accent-soft);
}

a {
    color: inherit;
    text-decoration: none;
}

/* ==========================================
   Navigation
   ========================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px clamp(20px, 5vw, 48px);
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(253, 251, 249, 0.9);
    backdrop-filter: blur(12px);
    padding: 14px clamp(20px, 5vw, 48px);
}

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.6;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    font-size: 0.85rem;
    color: var(--color-text-soft);
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-text);
}

.lang-toggle {
    display: flex;
    gap: 4px;
    background: var(--color-bg-pink);
    padding: 4px;
    border-radius: 8px;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.lang-btn:hover {
    color: var(--color-text);
}

.lang-btn.active {
    color: var(--color-text);
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px clamp(20px, 5vw, 48px) 80px;
}

.hero-content {
    max-width: 1000px;
    width: 100%;
}

.hero-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.hero-text {
    flex: 1;
    max-width: 560px;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--color-text-soft);
    margin-bottom: 8px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 10vw, 6rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-intro {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--color-text-soft);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-disciplines {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.discipline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--color-bg-warm);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--color-text-soft);
    transition: all 0.3s var(--ease-out);
}

.discipline-pill:hover {
    background: var(--color-accent-soft);
    color: var(--color-text);
    transform: translateY(-2px);
}

.discipline-pill svg {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* ==========================================
   Sections Common
   ========================================== */
.section {
    padding: var(--section-padding) clamp(20px, 5vw, 48px);
}

.section-inner {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    margin-bottom: clamp(32px, 5vw, 48px);
}

/* ==========================================
   About Section
   ========================================== */
.about {
    background: var(--color-bg-pink-soft);
}

.about-text {
}

.about-text p {
    font-size: 1.05rem;
    color: var(--color-text-soft);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.highlight-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-style: italic;
    color: var(--color-text) !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    margin: 48px 0 !important;
    position: relative;
    line-height: 1.4 !important;
}

.highlight-text::before {
    content: '"';
    font-family: var(--font-serif);
    font-size: 4rem;
    color: var(--color-accent);
    position: absolute;
    top: -20px;
    left: -10px;
    line-height: 1;
    opacity: 0.5;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.image-gallery .gallery-image {
    aspect-ratio: 1;
}

.image-gallery .gallery-image:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1;
}

/* ==========================================
   Profile Section
   ========================================== */
.profile-list {
    display: flex;
    flex-direction: column;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    gap: 24px;
}

.profile-item:first-child {
    border-top: 1px solid rgba(0,0,0,0.06);
}

.profile-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.profile-value {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    text-align: right;
}

/* ==========================================
   Achievements Section
   ========================================== */
.achievements {
    background: var(--color-bg-pink-soft);
}

.achievement-highlight {
    text-align: center;
    padding: 40px;
    margin-bottom: 48px;
    background: linear-gradient(135deg, var(--color-accent-soft) 0%, var(--color-bg-pink) 100%);
    border-radius: 16px;
}

.achievement-highlight-badge {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.achievement-highlight p {
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

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

.year-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--color-accent);
}

/* ==========================================
   Image Placeholders
   ========================================== */
.image-placeholder {
    background: linear-gradient(135deg, var(--color-bg-pink) 0%, var(--color-accent-soft) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px dashed var(--color-accent-soft);
    border-radius: 16px;
    margin: 12px;
}

.image-placeholder svg {
    width: 32px;
    height: 32px;
    opacity: 0.5;
}

.hero-image {
    aspect-ratio: 3/4;
    max-width: 320px;
    width: 100%;
}

.about-image {
    aspect-ratio: 4/3;
    width: 100%;
}

.gallery-image {
    aspect-ratio: 1;
    width: 100%;
}

.year-achievements {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.achievement {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: white;
    border-radius: 12px;
    transition: transform 0.2s var(--ease-out);
}

.achievement:hover {
    transform: translateX(4px);
}

.achievement-medal {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    color: white;
}

.achievement-medal.gold {
    background: linear-gradient(135deg, #d4a855 0%, #f0d078 100%);
}

.achievement-medal.silver {
    background: linear-gradient(135deg, #8a8a8a 0%, #b8b8b8 100%);
}

.achievement-medal.bronze {
    background: linear-gradient(135deg, #b87333 0%, #d4956a 100%);
}

.achievement-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.achievement-title {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
}

.achievement-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* ==========================================
   Goals Section
   ========================================== */
.goals-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.goal {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--color-bg-pink-soft);
    border-radius: 16px;
    transition: transform 0.3s var(--ease-out);
}

.goal:hover {
    transform: translateY(-2px);
}

.goal-emoji {
    font-size: 2rem;
    line-height: 1;
}

.goal-text h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 4px;
}

.goal-text p {
    color: var(--color-text-soft);
    font-size: 0.95rem;
}

.sponsor-note {
    padding: 32px;
    background: var(--color-bg-warm);
    border-radius: 16px;
    text-align: center;
    border: 1px dashed var(--color-accent-soft);
}

.sponsor-note p {
    color: var(--color-text-soft);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    padding: 60px clamp(20px, 5vw, 48px) 40px;
    background: var(--color-bg-pink);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-accent-soft);
    margin-bottom: 24px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-soft);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-soft);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: var(--color-text);
}

/* ==========================================
   Contact Page
   ========================================== */
.contact-page {
    min-height: 100vh;
    padding: 120px clamp(20px, 5vw, 48px) 80px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-intro {
    margin-bottom: 48px;
}

.contact-intro p {
    font-size: 1.1rem;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--color-bg-pink-soft);
    border-radius: 12px;
    transition: all 0.3s var(--ease-out);
}

.contact-method:hover {
    background: var(--color-bg-pink);
    transform: translateX(4px);
}

.contact-method svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-method span {
    font-size: 1rem;
}

.contact-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-soft);
    transition: color 0.2s ease;
}

.contact-back:hover {
    color: var(--color-text);
}

.contact-back svg {
    width: 16px;
    height: 16px;
}

/* ==========================================
   Privacy Page
   ========================================== */
.legal-page {
    min-height: 100vh;
    padding: 120px clamp(20px, 5vw, 48px) 80px;
}

.legal-content {
    max-width: 700px;
    margin: 0 auto;
}

.legal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin: 40px 0 16px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content p {
    color: var(--color-text-soft);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    color: var(--color-text-soft);
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
}

/* ==========================================
   Animations
   ========================================== */
.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out) calc(var(--delay, 0s)),
                transform 0.7s var(--ease-out) calc(var(--delay, 0s));
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth transition for language changes */
[data-de][data-en] {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 48px;
        min-height: auto;
    }

    .hero-layout {
        flex-direction: column;
        gap: 0;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        display: contents;
    }

    .hero-greeting {
        order: 1;
        margin-bottom: 4px;
        font-size: 1rem;
    }

    .hero-title {
        order: 2;
        font-size: clamp(2.5rem, 12vw, 3.5rem);
        margin-bottom: 24px;
    }

    .hero-image {
        order: 3;
        max-width: 280px;
        aspect-ratio: 4/3;
        margin-bottom: 24px;
    }

    .hero-intro {
        order: 4;
        margin-left: auto;
        margin-right: auto;
        padding: 0 24px;
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-disciplines {
        order: 5;
        justify-content: center;
    }

    .section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-text {
        max-width: 100%;
    }

    .image-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .image-gallery .gallery-image:first-child {
        grid-column: span 2;
        aspect-ratio: 16/9;
    }

    .highlight-text {
        font-size: 1.3rem !important;
        margin: 32px 0 !important;
    }

    .highlight-text::before {
        font-size: 3rem;
        top: -15px;
        left: -5px;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .hero-disciplines {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
    }

    .discipline-pill {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .discipline-pill svg {
        width: 14px;
        height: 14px;
    }

    .profile-item {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }

    .profile-value {
        text-align: left;
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .goal {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }

    .image-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .image-gallery .gallery-image:first-child {
        grid-column: span 3;
        aspect-ratio: 16/9;
    }

    .image-gallery .gallery-image {
        aspect-ratio: 1;
    }

    .contact-page,
    .legal-page {
        padding: 100px 20px 60px;
    }

    .nav {
        padding: 16px 20px;
    }

    .nav-right {
        gap: 16px;
    }

    .nav-link {
        font-size: 0.8rem;
    }
}
