.skills-block {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.skills-category__title {
    text-align: center;
    margin: 0 0 1.5rem;
}

.skills-category__title span {
    display: inline-block;
}

/* ---------- Balken-Darstellung ---------- */

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.skill-item {
    width: 100%;
}

.skill-item__name {
    display: block;
    margin-bottom: .6rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .95rem;
    letter-spacing: .03em;
}

.skill-bar {
    position: relative;
    width: 100%;
    height: 10px;
    background: #e0e0e0;
    border-radius: 999px;
    overflow: visible;
}

.skill-bar__fill {
    position: relative;
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: #861b1b;
    transition: width 1.2s ease-out;
}

.skill-bar__badge {
    position: absolute;
    top: -2.5rem;
    right: 0;
    transform: translateX(50%);
    background: #1f2937;
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    padding: .3rem .6rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .6s ease-out .6s;
}

.skill-bar__badge::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 50%;
    transform: translateX(50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #1f2937 transparent transparent transparent;
}

.skill-bar__fill.is-visible .skill-bar__badge {
    opacity: 1;
}

/* ---------- Kreis-Darstellung ---------- */

.skills-circles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
}

.skill-circle {
    position: relative;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.skill-circle__svg {
    width: 120px;
    height: 120px;
    transform: rotate(-90deg);
}

.skill-circle__track {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 10;
}

.skill-circle__fill {
    fill: none;
    stroke: #861b1b;
    stroke-width: 10;
    stroke-linecap: round;
    stroke-dasharray: 326.7; /* 2 * PI * r(52) */
    stroke-dashoffset: 326.7;
    transition: stroke-dashoffset 1.2s ease-out;
}

.skill-circle__value {
    position: absolute;
    top: 46px;
    font-size: 1.2rem;
    font-weight: 700;
}

.skill-circle__name {
    margin-top: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: .85rem;
    text-align: center;
}
