/* =====================================================================
   Spenglerei Herr – gemeinsame Komponenten (neues Design)
   Klar abgesetzt vom Ausgangsprojekt: Industrie-/Blech-Look mit
   "Typenschild"-Kicker, Outline-Akzent und Blueprint-Cards.
   ===================================================================== */

/* ---------- Section-Heading ---------- */
.sh-head { margin-bottom: clamp(46px, 6vw, 70px); }
.sh-head.center { text-align: center; }
.sh-head.center .sh-kicker { justify-content: center; }

/* Kicker = schwarzes "Typenschild" mit gekerbter Ecke */
.sh-kicker {
    display: inline-flex; align-items: center; gap: 11px;
    background: var(--black); color: var(--white);
    font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px;
    padding: 10px 18px 10px 15px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    margin-bottom: 24px;
}
.sh-kicker::before { content: ''; width: 9px; height: 9px; background: var(--white); flex: 0 0 auto; }

.sh-title {
    font-size: clamp(30px, 4.6vw, 54px); font-weight: 900; color: var(--black);
    text-transform: uppercase; letter-spacing: -1.5px; line-height: 1.02; margin: 0;
}
/* Akzentwort als Outline (greift den Hero auf) */
.sh-title .sh-accent {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--black);
    text-stroke: 1.5px var(--black);
}
.sh-lead { margin: 22px auto 0; max-width: 640px; color: var(--dark); font-size: 17px; line-height: 1.75; }
.sh-head:not(.center) .sh-lead { margin-left: 0; }

/* Auf dunklem Grund */
.sh-dark .sh-kicker { background: var(--white); color: var(--black); }
.sh-dark .sh-kicker::before { background: var(--black); }
.sh-dark .sh-title { color: var(--white); }
.sh-dark .sh-title .sh-accent { -webkit-text-stroke-color: var(--white); text-stroke: 1.5px var(--white); }
.sh-dark .sh-lead { color: rgba(255,255,255,0.7); }

/* ---------- Blueprint-Card (Leistungen u. a.) ---------- */
.sh-card {
    position: relative; display: flex; flex-direction: column; height: 100%;
    background: var(--white);
    border-top: 3px solid var(--black);
    padding: 30px 30px 34px;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.sh-card .sh-idx {
    font-family: ui-monospace, 'SF Mono', 'Consolas', monospace;
    font-size: 13px; font-weight: 700; letter-spacing: 3px; color: var(--steel-300);
    margin-bottom: 20px;
}
.sh-card .sh-icon { width: 62px; height: 62px; margin-bottom: 22px; display: flex; align-items: center; }
.sh-card .sh-icon img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%); transition: filter 0.4s ease; }
.sh-card:hover .sh-icon img { filter: grayscale(0%); }
.sh-card h3 { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--black); margin: 0 0 12px; }
.sh-card p { font-size: 15px; line-height: 1.7; color: var(--dark); margin: 0; flex-grow: 1; }
.sh-card .sh-foot { margin-top: 26px; height: 2px; background: var(--bg-light); position: relative; overflow: hidden; }
.sh-card .sh-foot::after { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--black); transition: width 0.5s var(--ease); }
.sh-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(0,0,0,0.10); }
.sh-card:hover .sh-foot::after { width: 100%; }

/* ---------- Portfolio-Card (Projekte, News) – Bild mit Overlay ---------- */
.sh-pcard {
    position: relative; display: block; overflow: hidden;
    aspect-ratio: 3 / 4; background: var(--black);
}
.sh-pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform 0.8s var(--ease), filter 0.6s ease; }
.sh-pcard:hover img { transform: scale(1.08); filter: grayscale(0%); }
.sh-pcard::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 45%, transparent 72%);
    transition: opacity 0.4s ease;
}
.sh-pcard .sh-tag {
    position: absolute; top: 0; left: 0; z-index: 2;
    background: var(--white); color: var(--black);
    font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    padding: 9px 15px;
}
.sh-pcard .sh-pbody {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
    padding: 26px 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
}
.sh-pcard h3 { color: var(--white); font-size: 20px; font-weight: 800; text-transform: uppercase; line-height: 1.25; margin: 0; transform: translateY(6px); transition: transform 0.4s var(--ease); }
.sh-pcard:hover h3 { transform: none; }
.sh-pcard .sh-arrow { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; background: var(--white); color: var(--black); transition: transform 0.4s var(--ease); }
.sh-pcard:hover .sh-arrow { transform: translateX(5px); }
.sh-pcard .sh-link { position: absolute; inset: 0; z-index: 3; }

/* ---------- Empty-State ---------- */
.sh-empty { text-align: center; color: var(--dark); padding: 60px; border: 2px dashed var(--bg-light); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
