body {
    font-family: "SF Pro Display", -apple-system, system-ui, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.hero-section {
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    padding: 2rem;
}

.hero-section h1,
.hero-section p {
    /* Standard-Farbe für Light Mode */
    color: #1A1A1A;
}

/* Spezifische Farbe nur für Dark Mode */
[data-theme="dark"] .hero-section h1,
[data-theme="dark"] .hero-section p {
    color: #D6CDB7;
}

.profile-section {
    margin: 2rem auto;
    padding: 1rem;
    max-width: 540px;
    display: flex;
    justify-content: center;
}

.feed-section {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 2rem;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 2rem;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.instagram-link:hover {
    background: #7c6239;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.instagram-link:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Instagram Media Einbettung Responsive */
.instagram-media {
    margin: 0 auto !important;
    min-width: 280px !important;
    max-width: 540px !important;
    width: 100% !important;
    background-color: transparent !important;
}

/* Dark Mode spezifische Anpassungen */
[data-theme="dark"] .instagram-media,
[data-theme="dark"] .instagram-media * {
    color: var(--text-color) !important;
    border-color: var(--secondary-color) !important;
}

[data-theme="dark"] .instagram-media:hover {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 15px rgba(32, 189, 157, 0.3) !important;
}

/* Elfsight Widget Anpassungen */
.eapps-instagram-feed {
    background: transparent !important;
}

.eapps-instagram-feed-container {
    background: transparent !important;
}

.eapps-instagram-feed-title {
    background: transparent !important;
}

.eapps-instagram-feed-posts-item {
    background-color: var(--primary-color) !important;
    border: 1px solid var(--secondary-color) !important;
}

.eapps-instagram-feed-posts-item:hover {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 15px rgba(32, 189, 157, 0.3) !important;
}

.instagram-frame {
    background-color: var(--primary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(32, 189, 157, 0.3);
}

.custom-profile {
    /* Dunkle Farbe für beide Themes */
    background-color: #1A1A1A;
    border-radius: 10px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
    /* Feste helle Umrandung für beide Modi */
    border: 2px solid #D6CDB7;
    transition: all 0.3s ease;
}

/* Spezifische Anpassung für Dark Mode falls nötig */
[data-theme="dark"] .custom-profile {
    background-color: #1A1A1A;
}

/* Spezifische Anpassung für Light Mode */
[data-theme="light"] .custom-profile {
    background-color: #1A1A1A;
}

/* Hover-Effekt für beide Modi */
.custom-profile:hover {
    border-color: #9B7B4C;
}

.profile-header {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    /* Feste helle Umrandung für beide Modi */
    border: 3px solid #D6CDB7;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    color: #D6CDB7;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.profile-bio {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.follow-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #D6CDB7;
    color: #1A1A1A;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.follow-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 189, 157, 0.3);
}

@media (max-width: 600px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        margin: 0 auto;
    }
}

/* Snapwidget Anpassungen */
.snapwidget-widget {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: 600px !important;
    background-color: transparent !important;
    padding: 0;
}

@media (max-width: 768px) {
    .profile-section {
        padding: 1rem;
    }

    .custom-profile {
        max-width: 100%;
    }

    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .profile-info {
        padding: 0;
    }

    .profile-info h2 {
        font-size: 1.3rem;
    }

    .profile-bio {
        font-size: 0.9rem;
        margin: 0.3rem 0;
    }

    .follow-button {
        width: 100%;
        margin-top: 1rem;
    }

    .hero-section {
        margin: 1rem auto;
        padding: 1rem;
    }

    main {
        min-height: calc(100vh - 120px);
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .profile-section {
        padding: 0.5rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .profile-info h2 {
        font-size: 1.1rem;
    }

    .profile-bio {
        font-size: 0.8rem;
    }

    .follow-button {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
}

/* Spezifische Anpassungen für beide Modi */
[data-theme="dark"] .profile-info h2,
[data-theme="light"] .profile-info h2 {
    color: #D6CDB7;
}

[data-theme="dark"] .follow-button,
[data-theme="light"] .follow-button {
    background-color: #D6CDB7;
    color: #1A1A1A;
} 