.profilinhalt {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
}

.dreispaltig {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.profilspalte {
    flex: 1 1 300px; /* alle 3 Spalten etwa gleich breit, min 300px */
}

.bildspalte {
    flex: 0 0 250px;
    max-width: 250px;
}

/* Bild in rechter Spalte passend skalieren */
.bildspalte img {
    width: 250px;
    height: 500px;
    object-fit: cover;
}

/* Für kleine Bildschirme auf einspaltig */
@media (max-width: 768px) {
    .dreispaltig {
        flex-direction: column;
    }

    .bildspalte {
        flex: 1 1 auto;
        max-width: 100%;
    }

    .bildspalte img {
        width: 100%;
        height: auto;
    }
}

.zweispaltig {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.profilspalte {
    flex: 1 1 400px;
}

@media (max-width: 768px) {
    .zweispaltig {
        flex-direction: column;
    }
}


.stecklink {
    color: var(--accentdu);
    font-weight: bold;
    text-decoration: none;
}

.stecklink:hover {
    text-decoration: underline;
}

.profilcard {
    width:100%;
    margin: auto auto;
    background: var(--body);
    color: var(--txt);
    overflow: hidden;
}

.profilkopf {
    display: flex;
    gap: 1rem;
    background: var(--hbg);
    padding: 1rem 1.5rem;
    align-items: center;
}

.profilavatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    object-fit: cover;
}

.profilheader h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--accentdu);
}

.profilzitat {
    font-style: italic;
    font-size: 1rem;
    margin-top: .5rem;
    color: var(--hltxt);
}

.profilinhalt {
    padding: 2rem 1.5rem;
}

.profilsection {
    margin-bottom: 2rem;

}

.profilsection h3 {
    color: var(--accentdu);
    border-bottom: 1px solid var(--accenttr);
    padding-bottom: .3rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.profilliste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profilliste li {
    margin: .5rem 0;
}

.badge {
    display: inline-block;
    background: var(--hbg);
    color: var(--txt);
    padding: .2rem .6rem;
    font-size: 12px;
    margin-right: .4rem;
}

.kurztext {
    font-size: .95rem;
    line-height: 1.5;
    color: var(--hltxt);
}

.szenenkalender {
    background: var(--dbgtr);
    padding: 1rem;
height:170px;
width:250px;
line-height:normal;

}
.szenenkalender td {height:12px; width:25px; text-align:center; padding:3px; border:none;}

.szenenkalender th {height:12px; width:12px; text-align:center; padding:3px; background:var(--hggreyer); color:var(--fontnormal); border:none;}

.kalenderkopf {
    margin-bottom: 0.5rem;
}

.szenenliste {
    list-style: none;
font-size:10px;
    padding: 0;
    margin: 0;
height:100px;
overflow:auto;
}

.szenenliste li {
    margin: 0.4rem 0;
}

.szenenliste a {
    color: var(--accentdu);
    text-decoration: none;
}

.szenenliste a:hover {
    text-decoration: underline;
}

.profilfact {
    display: inline-block;
    margin-top: 1rem;
    background: var(--accentdu);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 1rem;
    text-decoration: none;
    font-weight: bold;
}