.layout {
    display: flex;
    gap: 50px;
}

.sidebar {
    position: fixed;
    height: 100%;
    width: 80px;
    top: 0;
    left: 0;
    box-sizing: border-box;
    padding: 15px 0;
    text-align: center;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #dddad3;
    background-image: url(https://www.transparenttextures.com/patterns/checkered-light-emboss.png);
    background-attachment: fixed;
}

.sidebar-icon {
    position: relative;
    display: inline-block;
}

.sidebar-icon img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

/* Navigation */
.sidebar-nav {
    flex: 1; /* nimmt restlichen Platz ein */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;   
    padding: 20px 0;
}

/* Links im Sidebar-Menü */
.sidebar-nav a {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-nav i {
    font-size: 18px;
    line-height: 1;
}

.linklogout {
    background: #c07e00;
    color: #eae9e5 !important;
    text-decoration: none !important;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Sidebar Items (falls du sie nutzt) */
.sidebar-items {
    display: block;
    width: 30px;
    margin: auto;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--akzent);
}

/* User Bereich */
.sidebar-user {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding-top: 30px;
}

.sidebar-name {
    margin-top: 15px;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
}

/* Footer Navigation */
.sidebar-footer {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Theme Switch */
.theme-switch {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
}

.theme-switch button {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
}

/* Decoration Card */
.constellation-card {
    background-image: url(../../../images/constellation.svg);
    background-attachment: fixed;
}