/* Prototyp v5: ein Baum aus einem Guss. Baut auf tree-proto-v2.css und tree-proto-v4.css auf.
   Neu: Stammfuß (.tv5-flare) zwischen Stammsäule und Wurzeln, Wurzeln über die volle Breite. */
.tv2-trunk {
    background-position: 0 var(--tv5-trunk-phase);
    /* Unten keine Ausblendung mehr: die Säule geht ohne Lücke in den Stammfuß über. */
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 60px, #000 100%);
    mask-image:
        linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 60px, #000 100%);
}

.tv5-flare {
    position: absolute;
    left: 50%;
    top: var(--tv5-flare-top);
    width: var(--tv5-flare-w);
    height: var(--tv5-flare-h);
    margin-left: calc(var(--tv5-flare-w) / -2);
    background: url('../images/tree-v5/flare.webp') no-repeat 0 0 / 100% 100%;
    z-index: 2;
}

.tv2-roots {
    background-image: url('../images/tree-v5/roots.webp');
    z-index: 1;
}

/* Die Wurzeln sind das Motiv von Contact; die flächige Abdunklung bleibt nur unten für die Lesbarkeit. */
.tree-proto .contact-section::before {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.35) 100%);
}

/* Skills: Die Äste setzen die Krone nach unten fort. Etwas zurückgenommen, damit Titel und Pills lesbar bleiben. */
.tv5-skill-branch.is-visible { opacity: 0.7; }
.tree-proto .category-title {
    text-shadow: 0 0 6px rgba(0,0,0,0.95), 0 0 16px rgba(0,0,0,0.9), 0 0 28px rgba(0,0,0,0.8);
}
.tree-proto .skill-pill { box-shadow: 0 2px 10px rgba(0,0,0,0.55); }
