/* ==========================================================================
   vetosec service pages (IT Solutions, IT Check, IT Consulting)
   Three colors only: white text, emerald green, dark navy.
   Shared layout so the three pages stay visually consistent and cache once.
   ========================================================================== */

html, body { overflow-x: hidden; }

.sp {
  --sp-green: var(--c-green, #22c55e);
  --sp-green-light: var(--c-green-light, #4ade80);
  --sp-green-dark: var(--c-green-dark, #16a34a);
}

.sp-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.6rem;
}

/* ---------- Hero ---------- */

.sp-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 2.5rem;
  min-height: 440px;
  display: flex;
  align-items: flex-start;
  isolation: isolate;
}

.sp-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(34, 197, 94, 0.14), transparent 70%),
    linear-gradient(180deg, #0a0e27 0%, #0a1a3d 100%);
}

.sp-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 10%, transparent 75%);
}

/* Subtle photo backdrop — only rendered where .sp-hero-photo exists
   (the IT Solutions hero). Heavily faded so text stays readable. */
.sp-hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: 75% center;
  opacity: 0.34;
  mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.7) 55%, transparent 95%);
  -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0, 0, 0, 0.7) 55%, transparent 95%);
  pointer-events: none;
  transform: scale(1);
  animation: sp-hero-zoom 14s ease-out forwards;
  will-change: transform;
}

@keyframes sp-hero-zoom {
  from { transform: scale(1); }
  to   { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .sp-hero-photo { animation: none; transform: none; }
}

.sp-hero-photo--solutions { background-image: url('../img/it-loesungen-bg.webp'); }
.sp-hero-photo--check { background-image: url('../img/it-check-bg.webp'); }
.sp-hero-photo--consulting { background-image: url('../img/it-consulting-bg.webp'); }

.sp-breadcrumb {
  font-size: 0.9rem;
  color: var(--c-text-dim, #9ca3af);
  margin-bottom: 1.4rem;
}

.sp-breadcrumb a { color: var(--c-text-dim, #9ca3af); text-decoration: none; }
.sp-breadcrumb a:hover { color: var(--sp-green-light); }

.sp-eyebrow {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sp-green-light);
  font-weight: 600;
  margin: 0 0 0.9rem;
}

.sp-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  color: #fff;
  min-height: calc(2 * 1.1em);
}

.sp-hero h1 .sp-accent {
  background: linear-gradient(135deg, var(--sp-green), var(--sp-green-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sp-lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--c-text-muted, #cbd5e1);
  max-width: 640px;
  margin: 0 0 2rem;
  min-height: calc(3 * 1.65em);
}

/* ---------- Buttons ---------- */

.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.25s ease;
}

.sp-btn-primary {
  color: #06210f;
  background: linear-gradient(135deg, var(--sp-green), var(--sp-green-dark));
  box-shadow: 0 8px 26px rgba(34, 197, 94, 0.32);
}

.sp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(34, 197, 94, 0.45);
  color: #06210f;
}

.sp-btn-ghost {
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.sp-btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.45);
  color: #e6ffe8;
}

.sp-btn:focus-visible { outline: 2px solid var(--sp-green); outline-offset: 3px; }

.sp-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.sp-hero-ctas--stacked {
  flex-direction: column;
  align-items: stretch;
  max-width: 420px;
}
.sp-hero-ctas--stacked .sp-btn--equal {
  width: 100%;
  justify-content: center;
}

/* ---------- Generic section ---------- */

.sp-section {
  padding: 4rem 0;
  position: relative;
  /* Lazy render — the browser skips off-screen sections for faster paint */
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}
.sp-section--tint {
  background: none;
}

.sp-section-head {
  max-width: 680px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.sp-section-head h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.7rem;
  letter-spacing: -0.01em;
}

.sp-section-head p {
  margin: 0;
  color: var(--c-text-muted, #cbd5e1);
  font-size: 1.02rem;
  line-height: 1.6;
}

.sp-prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--c-text-muted, #cbd5e1);
  font-size: clamp(1.12rem, 1.7vw, 1.25rem);
  line-height: 1.7;
}

.sp-prose p { margin: 0 0 1.1rem; }
.sp-prose p:last-child { margin-bottom: 0; }
.sp-prose strong { color: #fff; }

/* ---------- Feature grid ---------- */

.sp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
}

/* Fixed 3-column grid (used where item count is exactly 3 or 6 to avoid
   orphan rows from auto-fit) */
.sp-grid--3col {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .sp-grid--3col { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .sp-grid--3col { grid-template-columns: repeat(3, 1fr); }
}

.sp-card {
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.9), rgba(10, 14, 39, 0.62));
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 16px;
  padding: 2.2rem 1.9rem;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.3s ease;
}

.sp-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45), 0 8px 36px rgba(34, 197, 94, 0.12);
}

.sp-card-icon {
  display: flex;
  justify-content: center;
  margin: 0 0 1.2rem;
  color: var(--sp-green);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-card-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.6;
}

.sp-card:hover .sp-card-icon {
  transform: scale(1.1) translateY(-2px);
}

.sp-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.sp-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.82);
}

/* Small red warning/disclaimer badge on a card (e.g. "keine Rechtsberatung") */
.sp-card-warn {
  display: inline-block;
  margin-top: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
}

/* Standalone disclaimer note below a card grid — red text, no bg/border,
   spans the same width as the grid above */
.sp-legal-note {
  margin: 1.4rem 0 0;
  padding: 0;
  background: transparent;
  border: none;
  color: #fca5a5;
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}
.sp-legal-note strong {
  color: #fecaca;
  font-weight: 700;
  margin-right: 0.25rem;
}

/* ---------- Process steps ---------- */

/* Roadmap layout: vertical timeline with dotted connectors */
.sp-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: sp-step;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 0;
}
.sp-steps::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  border-left: 2px dashed rgba(34, 197, 94, 0.35);
  pointer-events: none;
}

.sp-step {
  position: relative;
  padding: 0.6rem 0 1.5rem 4.2rem;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-step:last-child { padding-bottom: 0; }

.sp-step::before {
  counter-increment: sp-step;
  content: counter(sp-step);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sp-green), var(--sp-green-dark));
  border: 3px solid #0a0e27;
  color: #06210f;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
  z-index: 1;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sp-step:hover { transform: translateX(2px); }
.sp-step:hover::before { transform: scale(1.08); }

.sp-step h3 {
  font-size: 1.2rem;
  color: #fff;
  margin: 0.5rem 0 0.35rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.sp-step p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.82);
}

/* Branching start: two parallel "step 1" entries that visually merge into step 2 */
.sp-branch {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.sp-branch-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 3rem;
  position: relative;
}
.sp-branch-row::before {
  /* Two dashed verticals dropping straight down from each circle */
  content: "";
  position: absolute;
  inset: 48px 0 -8px 0;
  pointer-events: none;
  background-image:
    linear-gradient(to bottom, rgba(34, 197, 94, 0.35) 50%, transparent 50%),
    linear-gradient(to bottom, rgba(34, 197, 94, 0.35) 50%, transparent 50%);
  background-size: 2px 8px;
  background-repeat: repeat-y;
  background-position: 23px 0, calc(50% + 11.5px + 1.5rem - 0.5px) 0;
  display: none; /* the SVG handles the connector; this fallback is hidden */
}
@media (max-width: 640px) {
  .sp-branch-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.sp-branch-item {
  position: relative;
  padding: 0.6rem 0 0.5rem 4.2rem;
}
.sp-branch-num {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sp-green), var(--sp-green-dark));
  border: 3px solid #0a0e27;
  color: #06210f;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
}
.sp-branch-item h3 {
  font-size: 1.2rem;
  color: #fff;
  margin: 0.5rem 0 0.35rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.sp-branch-item p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.82);
}

/* Continuation roadmap starting at step 2 — sits directly below the branch
   so the two parallel columns visually flow into the single continuation line */
.sp-steps--from-2 {
  counter-reset: sp-step 1;
  margin-top: 1.6rem;
}

/* Horizontal scrolling carousel for the doubt questions on IT Check */
.ic-doubts-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
}
.ic-doubts-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 0.4rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ic-doubts-track {
  display: flex;
  gap: 0.8rem;
  width: max-content;
  animation: ic-doubts-scroll 90s linear infinite;
  will-change: transform;
}
.ic-doubts-carousel:hover .ic-doubts-track {
  animation-play-state: paused;
}
.ic-doubt-pill {
  flex-shrink: 0;
  padding: 0.8rem 1.3rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: rgba(226, 232, 240, 0.92);
  font-size: 0.98rem;
  line-height: 1.3;
  white-space: nowrap;
}
@keyframes ic-doubts-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* Expanded state: each question on its own line as a clean vertical list */
.ic-doubts-carousel.is-expanded {
  overflow: visible;
  -webkit-mask-image: none;
  mask-image: none;
}
.ic-doubts-carousel.is-expanded .ic-doubts-track {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
  animation: none;
  transform: none;
  gap: 0.55rem;
}
.ic-doubts-carousel.is-expanded .ic-doubt-pill {
  white-space: normal;
  text-align: left;
  border-radius: 12px;
}
.ic-doubts-carousel.is-expanded .ic-doubt-pill[aria-hidden="true"] {
  display: none;
}

.ic-doubts-toggle,
.ic-themes-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--sp-green-light, #4ade80);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.ic-doubts-toggle:hover,
.ic-themes-toggle:hover {
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.6);
  color: #fff;
}
.ic-doubts-toggle:focus-visible,
.ic-themes-toggle:focus-visible {
  outline: 2px solid var(--sp-green, #22c55e);
  outline-offset: 3px;
}

/* Konkret heißt das: show first 3 fully + a teaser of the 4th, hide rest.
   Use mask-image on the container itself so the bottom fades cleanly with no
   box clipping or sharp corners. */
.ic-themes {
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 65%, transparent 100%);
  transition: mask-image 0.4s ease;
}
.ic-themes > .sd-block:nth-child(n+5) { display: none; }
.ic-themes.is-expanded {
  -webkit-mask-image: none;
  mask-image: none;
}
.ic-themes.is-expanded > .sd-block:nth-child(n+5) { display: block; }
.ic-themes-toggle {
  display: inline-flex;
  align-items: center;
  margin: 1.4rem auto 0;
  position: relative;
  z-index: 3;
}

@media (max-width: 640px) {
  /* On mobile: always show all questions as a vertical list, hide toggles */
  .ic-doubts-carousel {
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .ic-doubts-track {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    width: 100%;
    animation: none;
    transform: none;
    gap: 0.55rem;
  }
  .ic-doubt-pill {
    white-space: normal;
    text-align: left;
    border-radius: 12px;
  }
  .ic-doubt-pill[aria-hidden="true"] { display: none; }
  .ic-doubts-toggle { display: none; }

  .ic-themes { overflow: visible; }
  .ic-themes > .sd-block:nth-child(n+5) { display: block; }
  .ic-themes::after { display: none; }
  .ic-themes-toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ic-doubts-track { animation: none; }
  .ic-doubts-carousel { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sp-step {
      animation: sp-step-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 24%;
    }
    @keyframes sp-step-reveal {
      from { opacity: 0; transform: translate3d(-12px, 0, 0); }
      to   { opacity: 1; transform: translate3d(0, 0, 0); }
    }
  }
}

/* ---------- FAQ ---------- */

.sp-faq { max-width: 820px; margin: 0 auto; }

.sp-faq-item {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(34, 197, 94, 0.16);
  border-radius: 12px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.sp-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sp-faq-q { flex: 1; }
.sp-faq-tag {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sp-green-light);
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  flex-shrink: 0;
}

.sp-faq-item summary::-webkit-details-marker { display: none; }

.sp-faq-item summary::after {
  content: "+";
  color: var(--sp-green);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.sp-faq-item[open] summary::after { transform: rotate(45deg); }

.sp-faq-answer {
  padding: 0 1.4rem 1.3rem;
  color: var(--c-text-muted, #cbd5e1);
  line-height: 1.7;
  font-size: 0.98rem;
}

/* ---------- Closing CTA ---------- */

.sp-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 3.4rem 2rem;
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(34, 197, 94, 0.12), rgba(10, 14, 39, 0.55) 65%);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.sp-cta-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  width: 560px;
  height: 360px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.2), transparent 70%);
  filter: blur(46px);
  pointer-events: none;
}

.sp-cta > *:not(.sp-cta-glow) { position: relative; z-index: 1; }

.sp-cta h2 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  color: #fff;
  margin: 0 0 0.8rem;
  font-weight: 700;
}

.sp-cta p {
  max-width: 560px;
  margin: 0 auto 1.7rem;
  color: var(--c-text-muted, #cbd5e1);
  line-height: 1.65;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  .sp-hero { padding: 4.5rem 0 3rem; min-height: auto; }
  .sp-section { padding: 3rem 0; }
  .sp-hero-ctas .sp-btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-btn, .sp-card, .sp-faq-item summary::after { transition: none; }
}

@media (forced-colors: active) {
  .sp-card, .sp-step, .sp-faq-item, .sp-cta { border-color: CanvasText; }
}

/* ---------- Hero jump link to the special-solutions block ---------- */
.sp-jumplink {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.32);
  color: var(--sp-green-light);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.sp-jumplink:hover {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.55);
  transform: translateY(-1px);
}
.sp-jumplink svg { color: var(--sp-green); }

/* ---------- Special-solutions block (regulated industries) ---------- */
.sp-special {
  position: relative;
  overflow: hidden;
  padding: 3.6rem 2.8rem;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(34, 197, 94, 0.16), rgba(10, 14, 39, 0.7) 70%);
  border: 1px solid rgba(34, 197, 94, 0.42);
}
.sp-special-glow {
  position: absolute;
  top: -48%;
  left: 50%;
  width: 660px;
  height: 440px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(34, 197, 94, 0.3), transparent 70%);
  filter: blur(54px);
  pointer-events: none;
}
.sp-special-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 20%, transparent 75%);
  pointer-events: none;
}
.sp-special > *:not(.sp-special-glow):not(.sp-special-grid) {
  position: relative;
  z-index: 1;
}
.sp-special-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.4rem;
}
.sp-special-eyebrow {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.76rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sp-green-light);
  font-weight: 600;
  margin: 0 0 0.9rem;
}
.sp-special h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.sp-special-text {
  margin: 0;
  font-size: 1.07rem;
  line-height: 1.7;
  color: var(--c-text-muted, #cbd5e1);
}

.sp-special-industries {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 2rem;
}
@media (min-width: 560px) {
  .sp-special-industries { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .sp-special-industries { grid-template-columns: repeat(4, 1fr); }
}
.sp-industry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1.3rem 1.3rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.7), rgba(10, 14, 39, 0.55));
  border: 1px solid rgba(34, 197, 94, 0.22);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.3s ease;
}
.sp-industry:hover {
  transform: translateY(-3px);
  border-color: rgba(34, 197, 94, 0.5);
  background: linear-gradient(155deg, rgba(20, 32, 56, 0.85), rgba(14, 20, 52, 0.65));
}
.sp-industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--sp-green-light);
  margin-bottom: 0.2rem;
}
.sp-industry-icon svg { width: 20px; height: 20px; }
.sp-industry-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
}
.sp-industry-rule {
  font-size: 0.82rem;
  color: var(--c-text-dim, #9ca3af);
  font-weight: 500;
}

.sp-special-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: 0 0 2rem;
}
.sp-badge {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--sp-green-light);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.sp-special-cta {
  display: inline-flex;
  margin: 0 auto;
}
.sp-special > .sp-special-cta {
  display: flex;
  width: max-content;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .sp-special { padding: 2.6rem 1.5rem; }
  .sp-special-industries { grid-template-columns: 1fr; }
}

/* ---------- Solution detail: article-style content ---------- */
.sd-article {
  max-width: 760px;
  margin: 0 auto;
}
.sd-article-h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.15rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}
.sd-article-lead {
  font-size: 1.05rem;
  color: var(--c-text-muted, #cbd5e1);
  line-height: 1.6;
  margin: 0 0 2rem;
}
.sd-blocks {
  display: flex;
  flex-direction: column;
}
.sd-block {
  padding: 1.6rem 0 1.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}
.sd-block:last-child {
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.sd-block h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
  margin: 0 0 0.45rem;
}
.sd-block p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text-muted, #cbd5e1);
  margin: 0;
}

/* Aside: quiet "Hintergrund" block, left rule, no glow */
.sd-aside {
  max-width: 760px;
  margin: 0 auto;
  padding: 0.4rem 0 0.4rem 1.4rem;
  border-left: 2px solid rgba(34, 197, 94, 0.45);
}
.sd-aside-eyebrow {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sp-green-light);
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.sd-aside-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
  margin: 0 0 0.55rem;
}
.sd-aside-text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--c-text-muted, #cbd5e1);
  margin: 0;
}

/* ---------- SEO bricks (Q&A style, citation-friendly) ---------- */
.sp-bricks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .sp-bricks { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .sp-bricks { grid-template-columns: repeat(3, 1fr); }
}

.sp-brick {
  position: relative;
  overflow: hidden;
  padding: 1.7rem 1.6rem 1.5rem;
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(15, 23, 42, 0.88), rgba(10, 14, 39, 0.62));
  border: 1px solid rgba(34, 197, 94, 0.18);
  isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.3s ease;
}
.sp-brick::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--sp-green, #22c55e), transparent);
  transform: scaleX(0.35);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-brick:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), 0 6px 24px rgba(34, 197, 94, 0.1);
}
.sp-brick:hover::before { transform: scaleX(1); }

.sp-brick-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sp-green-light, #4ade80);
  margin: 0 0 0.75rem;
}
.sp-brick-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sp-green, #22c55e);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
  animation: sp-brick-dot 2.6s ease-in-out infinite;
}
@keyframes sp-brick-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.sp-brick-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.55rem;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.sp-brick-body {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.84);
  margin: 0;
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sp-brick {
      animation: sp-brick-reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 28%;
    }
    @keyframes sp-brick-reveal {
      from { opacity: 0; transform: translate3d(0, 24px, 0); }
      to   { opacity: 1; transform: translate3d(0, 0, 0); }
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-brick-tag::before { animation: none; }
}

/* ---------- IT Check add-ons (compact card placed after the standard checklist) ---------- */
.ic-extra-block {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem 1.5rem;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.04);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-left: 3px solid rgba(251, 191, 36, 0.55);
}
.ic-extra-title {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.4rem;
  letter-spacing: -0.005em;
}
.ic-extra-badge {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.42);
  color: #fcd34d;
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ic-extra-note {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--c-text-muted, #cbd5e1);
}
.ic-compliance-link {
  margin: 1.4rem 0 0;
  font-size: 0.92rem;
  color: var(--c-text-muted, #cbd5e1);
  line-height: 1.6;
}
.ic-compliance-link a {
  color: var(--sp-green-light, #4ade80);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.3rem;
  white-space: nowrap;
}
.ic-compliance-link a:hover { text-decoration: underline; }

/* ---------- IT Check PDF download CTA (below question catalogue) ---------- */
.ic-pdf-cta {
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.ic-pdf-cta-text {
  margin: 0;
  font-size: 1rem;
  color: var(--c-text-muted, #cbd5e1);
  line-height: 1.6;
  max-width: 520px;
}

/* ---------- IT Check coverage checklist (Standard ✓ + Optional pill) ---------- */
.ic-coverage {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ic-coverage li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--c-text-muted, #cbd5e1);
  font-size: 1rem;
  line-height: 1.55;
}
.ic-coverage li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.42);
  color: var(--sp-green-light, #4ade80);
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}
.ic-coverage li.optional::before {
  content: "+";
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.42);
  color: #fcd34d;
}
.ic-coverage li.optional::after {
  content: "Optional";
  margin-left: 0.55rem;
  display: inline-block;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.10);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #fcd34d;
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 0.12em;
}
.ic-rec-badge {
  display: inline-block;
  margin-right: 0.55rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.42);
  color: var(--sp-green-light, #4ade80);
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: 0.12em;
}

/* ---------- IT Check anxiety question checklist ---------- */
.ic-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ic-checklist li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--c-text-muted, #cbd5e1);
  font-size: 1rem;
  line-height: 1.55;
}
.ic-checklist li::before {
  content: "?";
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.32);
  color: var(--sp-green-light, #4ade80);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

/* Closing CTA: stack price + button vertically */
.sp-cta .ic-price,
.sp-special .ic-price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  flex-wrap: wrap;
  width: 100%;
  margin: 0.4rem 0 1.2rem;
}
.sp-cta .sp-btn,
.sp-special .ic-price + .sp-btn,
.sp-special .ic-price + .sp-special-cta {
  margin: 0 auto;
}
.sp-special-head + .ic-price {
  text-align: center;
}

/* ---------- IT Check price tag (no card, text only) ---------- */
.ic-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0.4rem 0 1.6rem;
}
.ic-price-label {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, Monaco, Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-text-dim, #9ca3af);
}
.ic-price-amount {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
}
.ic-price-from {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  color: var(--c-text-muted, #cbd5e1);
}
.ic-price-value {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 60%, #16a34a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (max-width: 480px) {
  .ic-price {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

/* ---------- Solution roller — concrete products, picker style ---------- */
.lr-roller {
  position: relative;
  height: 288px;
  max-width: 820px;
  margin: 0 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.lr-highlight {
  position: absolute;
  top: 96px;
  left: 0;
  right: 0;
  height: 96px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.07));
  border: 1px solid rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 28px rgba(34, 197, 94, 0.18);
  pointer-events: none;
}
.lr-track {
  list-style: none;
  margin: 0;
  padding: 0;
  animation: lr-roll 22s infinite;
  will-change: transform;
}
.lr-track li {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  padding: 0 1.2rem;
  line-height: 1.05;
}
@keyframes lr-roll {
  0%, 7%       { transform: translateY(0); }
  8.3%, 15.3%  { transform: translateY(-96px); }
  16.7%, 23.7% { transform: translateY(-192px); }
  25%, 32%     { transform: translateY(-288px); }
  33.3%, 40.3% { transform: translateY(-384px); }
  41.7%, 48.7% { transform: translateY(-480px); }
  50%, 57%     { transform: translateY(-576px); }
  58.3%, 65.3% { transform: translateY(-672px); }
  66.7%, 73.7% { transform: translateY(-768px); }
  75%, 82%     { transform: translateY(-864px); }
  83.3%, 90.3% { transform: translateY(-960px); }
  91.7%, 98.7% { transform: translateY(-1056px); }
  100%         { transform: translateY(-1152px); }
}
@media (prefers-reduced-motion: reduce) {
  .lr-track { animation: none; }
}

/* ---------- Solution sub-service detail page ---------- */
.sd-hero-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.3rem;
  border-radius: 16px;
  color: var(--sp-green-light);
  background: linear-gradient(150deg, rgba(34, 197, 94, 0.2), rgba(10, 14, 39, 0.5));
  border: 1px solid rgba(34, 197, 94, 0.42);
  box-shadow: 0 14px 34px -20px rgba(34, 197, 94, 0.6);
}
.sd-others {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}
.sd-other {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.05rem 1.2rem;
  border-radius: 14px;
  text-decoration: none;
  background: rgba(10, 14, 39, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.16);
  transition: border-color 0.22s ease, transform 0.22s ease, background 0.22s ease;
}
.sd-other:hover {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.08);
  transform: translateY(-2px);
}
.sd-other-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  color: var(--sp-green-light);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.sd-other-name {
  flex: 1;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1.3;
}
.sd-other-arrow {
  flex-shrink: 0;
  color: var(--sp-green-light);
  opacity: 0.55;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.sd-other:hover .sd-other-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* ---------- Clickable feature card (links to a sub-service page) ---------- */
.sp-card--link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.sp-card--link p { flex: 1; }
.sp-card-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--sp-green-light);
}
.sp-card-more svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.sp-card--link:hover .sp-card-more svg {
  transform: translateX(4px);
}
