/* hpc.one – Unterseiten (ausgelagert aus _quelle/service.html); ergänzt site.css */
/* ---------- Unterseite – Guerillakämpfer im Nadelstreif (keine Rundungen, keine Schatten, harte Kanten) ---------- */
.s-hero { position: relative; background: var(--bg-dark); color: var(--white); overflow: hidden; padding: 130px 0 56px; }
.s-hero::before { content: ""; position: absolute; width: 760px; height: 760px; right: -220px; top: -340px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(195,216,0,.20), rgba(195,216,0,0)); animation: drift 14s ease-in-out infinite alternate; }
.s-hero::after { content: ""; position: absolute; width: 640px; height: 640px; left: -280px; bottom: -400px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(107,161,178,.28), rgba(107,161,178,0)); animation: drift 18s ease-in-out infinite alternate-reverse; }
/* Hintergrundbild links oben – wie das Bild rechts oben auf der Startseite, gespiegelt */
.s-hero .hero-img { position: absolute; top: 0; left: 0; width: 62%; height: 100%; z-index: 1;
  background-position: left 40%; background-size: cover; background-repeat: no-repeat;
  filter: saturate(1.15) contrast(1.05);
  -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 36%), linear-gradient(180deg, #000 65%, transparent 100%);
  mask-image: linear-gradient(270deg, transparent 0%, #000 36%), linear-gradient(180deg, #000 65%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.s-hero .hero-img::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(270deg, var(--bg-dark) 0%, rgba(31,58,68,.62) 45%, rgba(31,58,68,.42) 100%), linear-gradient(180deg, rgba(31,58,68,.25), rgba(31,58,68,.60));
  mix-blend-mode: multiply; }
.s-hero .hero-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(240deg, rgba(107,161,178,.35), transparent 50%, rgba(195,216,0,.22)); mix-blend-mode: color; }
/* schräge Lime-Linie wie auf der Startseite: zwischen Textspalte und Bild */
.s-hero .grid-bg { display: none; }
.s-hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.45fr 1fr; gap: 56px; align-items: center; }
.crumbs { display: flex; gap: 12px; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 26px; }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--lime-hi); }
.crumbs i { font-style: normal; opacity: .5; }
.s-hero h1 { font-size: clamp(36px, 4.6vw, 66px); font-weight: 900; margin: 18px 0 0; line-height: 1.1; }
.s-hero h1 em { font-style: normal; color: var(--lime-hi); display: block; margin-top: 12px; font-size: .62em; line-height: 1.3; letter-spacing: -.015em; }
.s-hero .pic { position: relative; overflow: hidden; aspect-ratio: 4 / 3; max-width: 460px; justify-self: end; width: 100%; border-left: 10px solid var(--lime); }
.s-hero .pic img { width: 100%; height: 100%; object-fit: cover; }
.s-hero .pic::after { content: ""; position: absolute; inset: 0; background: rgba(107,161,178,.22); mix-blend-mode: multiply; }
.s-hero .pic.soft { border-left: 0;   /* weicher Rand: Bild läuft an allen Seiten in den Hintergrund aus (AI-GATE-Collage) */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%), linear-gradient(180deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%), linear-gradient(180deg, transparent 0, #000 8px, #000 calc(100% - 8px), transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.s-hero .pic.none { display: none; }   /* Textseiten ohne Bild (Impressum, AGB, DSGVO) */
.s-hero .pic b { position: absolute; left: 0; bottom: 0; font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); background: var(--bg-dark); padding: 8px 14px; }

.s-body { padding: 90px 0 110px; }
.s-body .wrap { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 72px; align-items: start; }
.prose { font-size: 17.5px; color: #2b3940; }
.prose > p:first-child, .prose > h3:first-child + p { font-size: clamp(19px, 1.6vw, 23px); font-weight: 600; line-height: 1.5; color: var(--text); letter-spacing: -.01em; border-left: 3px solid var(--lime); padding-left: 22px; }
.prose p { margin: 0 0 20px; }
.prose > h3:first-child { margin-top: 0; }
.prose h3 { display: flex; align-items: center; gap: 14px; margin: 54px 0 20px; font-size: 13px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--blue); }
.prose h3::before { content: ""; width: 36px; height: 3px; background: var(--lime); flex: none; }
.prose h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.prose ul, .prose ol { margin: 0 0 20px; padding: 0; list-style: none; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }   /* Linienraster statt Karten */
.prose ul li { position: relative; padding: 14px 18px 14px 56px; background: var(--white); }
.prose ul li::before { content: "✓"; position: absolute; left: 18px; top: 14px; width: 22px; height: 22px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 900; display: grid; place-items: center; }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; position: relative; padding: 14px 18px 14px 56px; background: var(--white); }
.prose ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 18px; top: 14px; font-size: 13px; font-weight: 900; color: var(--blue); letter-spacing: .05em; }
.prose .ref li { background: var(--bg-dark); color: var(--white); }
.prose .ref li::before { content: ""; background: var(--lime-hi); width: 10px; height: 10px; top: 20px; left: 24px; }
.prose b, .prose strong { font-weight: 800; color: var(--text); }
.prose .jobs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 24px; }
.prose .jobs .case h3 { display: block; font-size: 22px; margin: 16px 0 10px; text-transform: none; letter-spacing: -.02em; color: inherit; }
.prose .jobs .case h3::before, .prose .jobs .case h3::after { display: none; }
.prose .jobs .case dd { -webkit-line-clamp: 3; }
.prose .dims { display: flex; flex-wrap: wrap; gap: 4px; background: none; border: 0; }
.prose .dims li { padding: 8px 14px; background: var(--bg-dark); color: var(--white); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.prose .dims li::before { display: none; }
.prose .dims.links li { padding: 0; }
.prose .dims.links a { display: block; padding: 8px 14px; color: var(--white); text-decoration: none; }
.prose .dims.links a:hover { background: var(--lime); color: var(--ink); }
/* Übersichtsseiten: Liste mit Titel und Leitsatz */
.prose .ovw { gap: 1px; }
.prose .ovw li { padding: 0; }
.prose .ovw li::before { display: none; }
.prose .ovw a { display: grid; gap: 4px; padding: 16px 20px; text-decoration: none; color: inherit; }
.prose .ovw a:hover { background: var(--bg-dark); color: var(--white); }
.prose .ovw b { font-size: 18px; font-weight: 900; }
.prose .ovw span { font-size: 15px; color: var(--mute); }
.prose .ovw a:hover span { color: #c7d2d8; }

.side { position: sticky; top: 110px; display: grid; gap: 16px; }
.card { padding: 28px; }
.card-contact { background: var(--bg-dark); color: var(--white); border-left: 8px solid var(--lime); }   /* Petrol */
.card-contact .lbl { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--lime-hi); }
.card-contact b { display: block; font-size: 21px; font-weight: 900; margin: 10px 0 14px; }
.card-contact a { display: block; color: var(--white); text-decoration: none; font-weight: 700; padding: 6px 0; }
.card-contact a:hover { color: var(--lime-hi); }
.card-contact a.btn { margin-top: 22px; display: inline-flex; justify-content: center; width: 75%; padding: 13px 21px; font-size: 17px; line-height: 1.2;
  color: var(--ink); background: var(--lime); border: 2px solid var(--lime); }
.card-contact a.btn:hover { color: var(--lime); background: var(--bg-dark); }
.card-list { background: var(--white); border: 1px solid var(--line); }
.card-list .lbl { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }
.card-list ul { list-style: none; display: grid; }
.card-list li a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line-soft); text-decoration: none; font-weight: 700; font-size: 15px; }
.card-list li a:hover { color: #3e7385; }
.card-list li a i { font-style: normal; color: var(--blue); }
.card-list li.cur a { color: var(--mute); pointer-events: none; }

.pn { border-top: 1px solid var(--bg-dark); background: var(--sand); background-image: var(--stripe-l); padding: 44px 0; }
.pn .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--bg-dark); border: 1px solid var(--bg-dark); max-width: calc(var(--max) - 64px); }   /* Rahmen und Trennlinie in Petrol */
.pn a { display: flex; flex-direction: column; gap: 6px; padding: 24px 28px; background: var(--white); text-decoration: none; transition: background .15s, color .15s; }
.pn a:hover { background: var(--bg-dark); color: var(--white); }
.pn a.next { text-align: right; align-items: flex-end; }
.pn span { font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.pn a:hover span { color: var(--lime-hi); }
.pn b { font-size: 20px; font-weight: 900; }

.s-cta { background: var(--bg-dark); background-image: var(--stripe-d); color: var(--white); padding: 96px 0; position: relative; overflow: hidden; }
.s-cta .wrap { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.s-cta h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 16px 0 22px; }
.s-cta .tel { font-size: clamp(26px, 3vw, 40px); font-weight: 900; color: var(--lime-hi); text-decoration: none; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.s-cta .tel:hover { color: var(--white); }
.s-cta .alt { margin: 22px 0 14px; color: var(--white); }

@media (max-width: 1080px) {
  .s-hero .wrap, .s-body .wrap, .s-cta .wrap { grid-template-columns: 1fr; }
  .prose .jobs { grid-template-columns: 1fr; }
  .s-hero .pic { justify-self: start; max-width: 520px; aspect-ratio: 16 / 9; }
  .side { position: static; }
}
@media (max-width: 640px) {
  .s-hero { padding: 112px 0 44px; }
  .s-hero .hero-img { width: 100%; opacity: .7; }
  .s-body { padding: 56px 0 72px; }
  .pn .wrap { grid-template-columns: 1fr; }
  .pn a.next { text-align: left; align-items: flex-start; }
}
