/* Harmersbach – shared editorial elements for HTML rendered by the theme. */
:root {
  --reading-gap: clamp(1.5rem, 5vw, 4.25rem);
  --reading-section: clamp(2.5rem, 4.4vw, 4rem);
  --reading-title: clamp(1.85rem, 3.2vw, 2.95rem);
}
.section--content, .section.nx81-services, .section.tal-contact-strip,
.section:is(.tal-report,.tal-feature-section,.tal-work-section,.tal-setup-section,.tal-partners,.tal-evidence-section) {
  padding-block: var(--reading-section);
}
html { scroll-padding-top: 4.75rem; }
main [id] { scroll-margin-top: .25rem; }
@media (max-width: 980px) { html { scroll-padding-top: 4.1rem; } }
.section--content .content { max-width: none; }
.section--content .content h2, .nx81-section-head h2 { font-size: var(--reading-title); }
.content .blocks {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.45rem clamp(1.25rem,3.1vw,3rem); align-items: start; margin-block: 1.25rem;
}
.content .blocks > .block {
  padding: 1rem 0 0; background: transparent; border: 0; border-top: 1px solid #abaea4;
  border-radius: 0; box-shadow: none; min-height: 0;
}
.content .blocks > a.block:hover { border-color: var(--tal-violet); transform: none; }
.content .blocks > .block p { max-width: 53ch; line-height: 1.5; }
.content .blocks .block__more { margin-top: .75rem; }
.content .blocks .block__logo { object-fit: contain; max-height: 7rem; background: transparent; }
.content .link-list { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: .95rem 0 0; }
.content .link-list .link-card, .tal-more {
  display: inline-flex; align-items: baseline; justify-content: flex-start; gap: .5em;
  width: fit-content; max-width: 100%; min-height: 2.75rem; padding: .55rem 0;
  color: var(--tal-violet); border: 0; border-radius: 0; background: none; box-shadow: none;
  font-weight: 700; text-decoration: underline; text-decoration-color: #9b90a7; text-underline-offset: .24em;
}
.content .link-list .link-card svg { width: 1em; align-self: center; }
.tal-more::after { content: "→" / ""; display: inline-block; text-decoration: none; transition: transform .18s ease; }
.tal-more:hover::after { transform: translateX(3px); }
.tal-more:hover,.content .link-list .link-card:hover { color: var(--tal-night); text-decoration-color: currentColor; }

/* A question and its control form a single reading line. */
.content:has(>h2:first-child + .faq:last-child) {
  display: grid; grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); gap: var(--reading-gap); align-items: start;
}
.content:has(>h2:first-child + .faq:last-child)>h2 { margin: 0; }
.content .faq, .faq { margin: 0; min-width: 0; }
.faq details, .section--soft .faq details {
  margin: 0; border: 0; border-top: 1px solid #aaa99f; border-radius: 0; background: transparent;
}
.faq details:last-child { border-bottom: 1px solid #aaa99f; }
.faq details[open] { border-color: #a398ac; }
.faq details>summary {
  min-height: 3rem; padding: .75rem .2rem; gap: .7rem; justify-content: flex-start; align-items: center;
  font-size: clamp(1rem,1.6vw,1.16rem); color: var(--tal-ink); }
.faq details>summary svg { order: -1; width: 1rem; height: 1rem; flex-shrink: 0; }
.faq details[open]>summary, .faq details>summary:hover { color: var(--tal-violet); }
.faq details>div { padding: 0 .5rem .85rem 1.9rem; }
.faq details>div p { max-width: 62ch; }
.nx81-explorer .nx81-panel, .nx81-explorer.is-ready .nx81-panel {
  min-height: 0; padding: clamp(1rem,2.4vw,1.9rem); gap: 1rem; justify-content: start;
  background: #eeedf0; border-radius: 9px; height: auto;
}
.nx81-explorer .nx81-tab { min-height: 44px; padding: .68rem .85rem; border-radius: .45rem; }
.nx81-explorer .nx81-map { display: flex; flex-wrap: wrap; padding-top: .85rem; gap: .5rem 1.2rem; }
.nx81-explorer .nx81-map>div { flex-direction: row; text-align: left; gap: .35rem; }
.nx81-explorer .nx81-map .nx81-icon { width: 1rem; height: 1rem; padding: 0; background: transparent; }
.nx81-explorer .nx81-map span { max-width: none; font-size: .9rem; }
.nx81-explorer .nx81-panel h3 { margin-bottom: .55rem; }
.nx81-explorer .nx81-panels { align-self: start; min-width: 0; }

/* Case studies present the client, result and quote as one spread. */
.tal-report { background: #eceae6; }
.tal-report__body, .tal-work, .tal-setup, .tal-feature, .tal-stat, .tal-evidence, .tal-contact-strip__body {
  display: grid; gap: var(--reading-gap); align-items: center;
}
.tal-report__body, .tal-work, .tal-setup { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
.tal-report__intro { min-width: 0; }
.tal-report h2, .tal-work h2, .tal-setup h2, .tal-feature h2, .tal-partners h2, .tal-evidence h2, .tal-contact-strip h2 {
  font-size: var(--reading-title); line-height: 1.08; letter-spacing: -.04em; margin: 0;
}
.tal-report__mark { display: flex; align-items: center; height: 4rem; margin-bottom: .6rem; isolation: isolate; }
.tal-report__mark img { width: auto; height: auto; max-width: min(14rem,80%); max-height: 3.5rem; object-fit: contain; mix-blend-mode: multiply; }
img[src*="ts-technical-solutions-original.png"], img[src*="schmalz-logo-original-"] { mix-blend-mode: multiply; }
.tal-report .tal-caption { color: #514b55; font-size: .88rem; font-weight: bold; margin: 0 0 .5rem; }
.tal-report__intro>p:not(.tal-caption), .tal-feature__copy>p, .tal-work__intro>p, .tal-evidence__meaning p {
  max-width: 55ch; color: var(--tal-muted); margin: .85rem 0 .35rem; }
.tal-results, .tal-steps { list-style: none; margin: 0; padding: 0; }
.tal-results li, .tal-steps li { border-top: 1px solid #b0afa8; padding: .8rem 0; }
.tal-results li:last-child,.tal-steps li:last-child { border-bottom: 1px solid #b0afa8; }
.tal-results strong, .tal-steps strong { font-size: 1.08rem; line-height: 1.35; }
.tal-results p, .tal-steps p { color: var(--tal-muted); margin: .2rem 0 0; line-height: 1.45; }
.tal-results .tal-more { min-height: 0; padding: .2rem 0; font-size: .94rem; }
.tal-voice { margin: 1.3rem 0 0; background: #e4dfeb; border-left: 3px solid #8a779d; padding: 1rem 1.3rem; }
.tal-voice blockquote { max-width: 75ch; margin: 0; font: 400 clamp(1.12rem,1.65vw,1.48rem)/1.42 Georgia,serif; color: #312a39; }
.tal-voice figcaption { margin-top: .5rem; color: #504856; font-size: .86rem; }
.tal-related { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .75rem; margin: .7rem 0 0; color: var(--tal-muted); font-size: .94rem; }
.tal-work-section { background: #efeee7; }
.tal-work__intro img { display: block; width: min(78%,280px); height: auto; max-height: 180px; object-fit: contain; margin: .6rem auto 0; }
.tal-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .3rem 1rem; margin-top: 1rem; }
.tal-setup { grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); }
.tal-setup h2 { margin-bottom: 1.15rem; }
.tal-steps { counter-reset: stage; }
.tal-steps li { counter-increment: stage; position: relative; padding-left: 2.65rem; }
.tal-steps li::before { content: counter(stage, decimal-leading-zero) / ""; position: absolute; left: 0; top: .92rem; color: var(--tal-violet); font-weight: 700; font-size: .92rem; }
.tal-setup__aside { padding: clamp(1rem,2.5vw,2rem); background: #e8e5ee; border-radius: 10px; min-width: 0; }
.tal-setup__aside img { display: block; width: 135px; height: 85px; object-fit: cover; margin-bottom: .7rem; mix-blend-mode: multiply; }
.tal-setup__aside h3 { margin: 0; font-size: 1.4rem; line-height: 1.2; }
.tal-setup__aside p { margin: .65rem 0; }
.tal-aside-links { display: grid; justify-items: start; }
.tal-aside-links .tal-more { font-size: .95rem; }
.tal-feature-section { background: #e9e6df; }
.tal-feature { grid-template-columns: minmax(0,1.02fr) minmax(0,1fr); gap: clamp(1.25rem,3.6vw,3rem); }
.tal-feature__image { margin: 0; position: relative; overflow: hidden; border-radius: 8px; }
.tal-feature__image img { display: block; width: 100%; height: auto; aspect-ratio: 1.18; object-fit: cover; }
.tal-feature__image figcaption { position: absolute; left: .75rem; bottom: .75rem; padding: .28rem .6rem; background: #202722ea; color: #fff; font-size: .8rem; border-radius: 3px; }
.tal-feature .tal-voice { margin: .85rem 0 .3rem; }
.tal-feature .tal-voice blockquote { font-size: clamp(1rem,1.45vw,1.2rem); }
#uebergabe-checkliste .tal-handover { max-width: none; display: grid; grid-template-columns: repeat(3,1fr); padding: 0; list-style: none; gap: .8rem 2rem; }
.tal-handover li { border-top: 1px solid #a7aaa0; padding-top: .55rem; }
.tal-handover li strong { display: block; }
.tal-evidence-section { background: #eeece7; }
.tal-evidence { grid-template-columns: minmax(0,1.35fr) minmax(0,.78fr); gap: clamp(1.2rem,3.1vw,3.5rem); }
.tal-stat { display: block; border-radius: 10px; margin: 0; padding: clamp(1.3rem,2.9vw,2.7rem); background: #242e29; color: #fff; }
.tal-stat__lead>p { margin: 0; color: #d3dbd0; font-weight: 600; font-size: .91rem; }
.tal-stat__value { display: flex; gap: .8rem; align-items: baseline; margin-block: .65rem; line-height: 1; }
.tal-stat__value small { font-size: 1rem; }
.tal-stat__value strong { color: #e0dfb3; font-size: clamp(4.5rem,7.5vw,7rem); letter-spacing: -.075em; line-height: .98; }
.tal-stat__scale { height: .62rem; margin: .9rem 0; background: repeating-linear-gradient(90deg,transparent 0 calc(10% - 3px),#242e29 calc(10% - 3px) 10%),linear-gradient(90deg,#d6d9a5 0 90%,#626c62 90%); }
.tal-stat figcaption { margin: 0; color: #fff; }
.tal-stat figcaption>p { color: #fff; margin: 0; max-width: 52ch; line-height: 1.48; }
.tal-stat figcaption .tal-stat__total { margin: .95rem 0 .7rem; border-top: 1px solid #5c695f; padding-top: .8rem; font-size: .94rem; }
.tal-stat__total b { color: #e7e7d4; font-size: 1.2rem; }
.tal-stat a { color: #e1d9ef; font-size: .86rem; text-underline-offset: .22em; }
.tal-directory { margin-top: 1rem; }
.tal-partner { display: grid; grid-template-columns: minmax(116px,.56fr) minmax(0,.93fr) minmax(0,1.7fr); gap: clamp(1rem,3vw,2.35rem); align-items: center; padding: 1rem 0; border-top: 1px solid #bfbbb4; }
.tal-partner:last-child { border-bottom: 1px solid #bfbbb4; }
.tal-partner__mark { width: min(100%,148px); height: 60px; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; border-radius: 4px; color: #3a3c43; font-size: 1rem; font-weight: bold; line-height: 1.2; }
.tal-partner__mark:has(img) { background: #fff; }
.tal-partner__mark img { display: block; flex: none; width: 95%; height: 90%; object-fit: contain; max-width: none; }
#microsoft .tal-partner__mark img { width: 107%; height: auto; }
#codetwo .tal-partner__mark { background: #eee; } #codetwo .tal-partner__mark img { width: 112%; height: auto; }
#hornetsecurity .tal-partner__mark { background: #343941; } #hornetsecurity .tal-partner__mark img { height: 88%; }
.tal-partner__mark:not(:has(img)) { justify-content: flex-start; text-align: left; }
.tal-partner h3 { font-size: 1.23rem; line-height: 1.18; margin: 0 0 .4rem; }
.tal-partner small { color: var(--tal-muted); font-size: .85rem; }
.tal-partner p { color: var(--tal-muted); margin: 0; line-height: 1.45; }
.tal-partner .tal-more { font-size: .94rem; min-height: 0; }
.tal-partners:nth-of-type(even) { background: #efeee9; }
.tal-contact-strip { background: #e5e5d7; border-top: 1px solid #d2d3bd; }
.tal-contact-strip__identity { display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem; }
.tal-contact-strip__identity img { width: 32px; height: 32px; }
.tal-contact-strip__identity p,.tal-contact-strip__actions small { font-size: .86rem; color: #444c41; margin: 0; }
.tal-contact-strip__body { grid-template-columns: minmax(0,1.4fr) minmax(16rem,.85fr); }
.tal-contact-strip__body p { max-width: 53ch; color: #42493f; margin: .65rem 0 0; }
.tal-contact-strip__actions .btn { width: fit-content; }
.tal-contact-strip__actions>div { display: flex; flex-wrap: wrap; gap: .4rem 1.15rem; margin: .5rem 0 .35rem; }
.tal-contact-strip__actions>div a { font-weight: 700; color: #354233; text-underline-offset: .2em; }
.site-footer .footer-grid h2 { font-size: 1.05rem; line-height: 1.25; letter-spacing: 0; margin-bottom: .8rem; }
.site-footer .footer-grid { gap: 1.6rem; }
.site-footer .footer-grid li+li { margin-top: .28rem; }

@media(max-width:800px) {
  .tal-evidence,.tal-report__body,.tal-setup,.tal-feature,.tal-work,.tal-contact-strip__body { gap: 1.4rem; }
  .tal-partner { grid-template-columns: 130px minmax(0,1fr); gap: .4rem 1rem; }
  .tal-partner__mark { grid-row: span 2; } .tal-partner>div:last-child { grid-column: 2; }
}
@media(max-width:670px) {
  .content:has(>h2:first-child + .faq:last-child),.tal-report__body,.tal-setup,.tal-feature,.tal-work,.tal-evidence,.tal-contact-strip__body { grid-template-columns: 1fr; gap: 1rem; }
  .content .blocks, #uebergabe-checkliste .tal-handover { grid-template-columns: 1fr; gap: .8rem; }
  .tal-feature__image img { aspect-ratio: 1.9; }
  .tal-work__intro img { margin: .6rem 0; max-height: 115px; width: auto; max-width: 100%; }
  .tal-report__mark { height: auto; margin-bottom: .5rem; }
  .tal-report__mark img { max-height: 2.5rem; }
  .tal-setup__aside img { float: right; width: 68px; height: 54px; margin: 0 0 .35rem .45rem; }
  .tal-setup__aside h3 { font-size: 1.22rem; }
  .tal-partner { grid-template-columns: 98px minmax(0,1fr); gap: .65rem .8rem; }
  .tal-partner__mark { grid-row: auto; height: 48px; }
  .tal-partner>div:last-child { grid-column: 1/-1; } .tal-partner h3 { font-size: 1.12rem; }
  .tal-voice { padding: .8rem 1rem; }
  .tal-stat__value strong { font-size: clamp(4rem,18vw,6rem); }
}
@media(prefers-reduced-motion:reduce) { .tal-more::after { transition: none; } }
.tal-choices { padding-block:var(--reading-section); background:#eeede7; }
.tal-choices h2 { font-size:var(--reading-title); }
.tal-choices__items { display:grid; grid-template-columns:1fr 1fr; gap:1.2rem var(--reading-gap); margin-top:1.25rem; }
.tal-choices__items>div { border-top:2px solid #a397af; padding-top:1rem; }
.tal-choices__items>div+div { border-color:#9ba27c; }
.tal-choices__items h3 { font-size:1.22rem; margin:0; }
.tal-choices__items p { max-width:51ch; margin:.45rem 0 .1rem; color:var(--tal-muted); }
.tal-switch-steps .blocks { counter-reset:switch-step; }
.tal-switch-steps .blocks>.block { counter-increment:switch-step; }
.tal-switch-steps .blocks>.block::before { content:counter(switch-step,decimal-leading-zero) / ""; display:block; margin-bottom:.5rem; font-size:1rem; font-weight:bold; color:var(--tal-violet); }
.tal-switch-cost .blocks { grid-template-columns:1fr 1fr; gap:1.3rem; }
.tal-switch-cost .blocks>.block { border-top:2px solid #a59cab; }
.tal-switch-cost .blocks>.block+div { border-top-color:#9ba27c; }
.tal-switch-outcome .content figure { margin:1.25rem 0 0; }
.tal-switch-outcome .content .quote { border:0; border-left:3px solid #8a779d; background:#e4dfeb; margin:.5rem 0; padding:.8rem 1.2rem; }
main .kw-faq details, main .hu-faq details { margin:0; background:none; border-radius:0; }
main .kw-faq summary, main .hu-faq summary { min-height:44px; }
@media(max-width:670px) { .tal-choices__items,.tal-switch-cost .blocks { grid-template-columns:1fr; } }
