:root {
    --bez-bg: #1f1f1f;
    --bez-item-bg: #2b2b2b;
    --bez-border: #3a3a3a;

    --bez-text: #757575;
    --bez-muted: #b5b5b5;

    --bez-accent: #4c8998;
    --bez-action: #5f9fb0;
    --bez-action-soft: #3f6f7c;

    --bez-gap: 12px;
}

/* Kategorie-Wrapper */
.beziehungen-profil-kategorie {
margin-bottom:20px;
	text-align:justify;
}

/* Kategorie-Überschrift */
.beziehungen-profil-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--bez-accent);
    border-bottom: 1px solid var(--bez-border);
    padding-bottom: 6px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

/* Liste */
.beziehungen-profil-liste {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--bez-gap);
}

.beziehung-item {
    width: 100%;
	background:var(--bez-bg);
	padding:10px;
	box-sizing:border-box;
	border-left: 4px solid var(--accent-color);
}

.beziehung-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.beziehung-status {
    color: var(--accent);
    font-weight: normal;
}

.beziehung-text {
    line-height: 1.5;
	color:var(--bez-text);
}

.beziehung-bild {
    float: right;
    width: 90px;
    height: 90px;
    object-fit: cover;
    margin: 2px 0 6px 12px;
}

@media (max-width: 900px) {
    .beziehungen-profil-liste {
        grid-template-columns: 1fr;
    }
}

.beziehungen-tab-content {
    display: none;
}

.beziehungen-tab-content.active {
    display: block;
}

/* Gesamtcontainer */
/* Root-Variablen */
:root {
    --bez-bg: #1f1f1f;
    --bez-item-bg: #2b2b2b;
    --bez-border: #3a3a3a;

    --bez-text: #757575;
    --bez-muted: #b5b5b5;

    --bez-accent: #4c8998;
    --bez-action: #5f9fb0;
    --bez-action-soft: #3f6f7c;

    --bez-gap: 12px;
}

/* Container für den gesamten Thread */
.beziehungen-thread {
    margin: 20px 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--bez-text);
    background: var(--bez-bg);
    padding: var(--bez-gap);
    border-radius: 10px;
}

/* Kategorie-Block */
.beziehungen-kategorie-block {
    margin-bottom: 30px;
}

.beziehungen-kategorie-block h4 {
    border-bottom: 2px solid var(--bez-accent);
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: var(--bez-action);
    font-size: 1.2em;
    font-weight: bold;
}

/* Items-Container: flexibles Grid */
.beziehungen-items {
    display: flex;
    flex-wrap: wrap;
    gap: var(--bez-gap);
}

/* Einzel-Item */
.beziehung-item-thread {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--bez-item-bg);
    border: 1px solid var(--bez-border);
    border-radius: 10px;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    flex: 1 1 calc(33.333% - var(--bez-gap));
    max-width: calc(33.333% - var(--bez-gap));
    transition: transform 0.2s, box-shadow 0.2s;
}



/* Bildblock */
.beziehung-item .beziehung-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--bez-accent);
}

.beziehung-item .beziehung-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info-Bereich */
.beziehung-info {
    width: 100%;
}

.beziehung-name {
    font-weight: bold;
    color: var(--bez-accent);
    margin-bottom: 5px;
}

.beziehungsstatus {
    font-size: 0.9em;
    font-style: italic;
    color: var(--bez-action-soft);
    margin-bottom: 5px;
}

.beziehungsbeschreibung {
    font-size: 0.85em;
    color: var(--bez-muted);
	text-align:justify;
}

/* Responsive Anpassungen */
@media (max-width: 900px) {
    .beziehung-item {
        flex: 1 1 calc(50% - var(--bez-gap));
        max-width: calc(50% - var(--bez-gap));
    }
}

@media (max-width: 600px) {
    .beziehung-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
