/* Startseite Plus – Überschrift */
.sp-heading { margin: 2rem 0 1.5rem; }
.sp-heading--center { text-align: center; }
.sp-heading--left   { text-align: left; }
.sp-heading--right  { text-align: right; }

.sp-heading__title { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.sp-heading--sm .sp-heading__title { font-size: 1.25rem; }
.sp-heading--md .sp-heading__title { font-size: 1.5rem; }
.sp-heading--lg .sp-heading__title { font-size: 1.875rem; }
.sp-heading--xl .sp-heading__title { font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
.sp-heading--upper .sp-heading__title { text-transform: uppercase; letter-spacing: .06em; }

.sp-heading__link { color: inherit; text-decoration: none; transition: color .2s; }
.sp-heading__link:hover,
.sp-heading__link:focus { color: var(--sp-accent, var(--primary, #FFA54F)); text-decoration: none; }
.sp-heading__subtitle { margin: .5rem 0 0; color: #6c757d; font-size: 1rem; }
.sp-bg-dark .sp-heading__subtitle,
.sp-bg-accent .sp-heading__subtitle { color: rgba(255, 255, 255, .8); }

/* Linien links und rechts */
.sp-heading--lines .sp-heading__title { display: flex; align-items: center; gap: 1.25rem; }
.sp-heading--lines .sp-heading__title::before,
.sp-heading--lines .sp-heading__title::after { content: ""; flex: 1 1 0; height: 1px; background: rgba(0, 0, 0, .14); }
.sp-heading--lines.sp-heading--left  .sp-heading__title::before,
.sp-heading--lines.sp-heading--right .sp-heading__title::after { display: none; }
.sp-bg-dark .sp-heading--lines .sp-heading__title::before,
.sp-bg-dark .sp-heading--lines .sp-heading__title::after { background: rgba(255, 255, 255, .2); }

/* Kurzer Akzentstrich darunter */
.sp-heading--underline .sp-heading__title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 3px;
    margin: .65rem auto 0;
    border-radius: 2px;
    background: var(--sp-accent, var(--primary, #FFA54F));
}
.sp-heading--underline.sp-heading--left  .sp-heading__title::after { margin-left: 0; }
.sp-heading--underline.sp-heading--right .sp-heading__title::after { margin-right: 0; }

/* Akzentbalken links */
.sp-heading--bar { text-align: left; }
.sp-heading--bar .sp-heading__title {
    padding-left: 1rem;
    border-left: 4px solid var(--sp-accent, var(--primary, #FFA54F));
}
