/* =====================================================================
   HL Services – Unterseiten (Leistungen)
   Baut auf hl-site.css auf (Tokens, .hl-sec, .hl-label, .hl-h2, .hl-lead,
   .hl-svc, .hl-contact …). Hier nur, was die Unterseiten zusätzlich brauchen.
   Schriftgrößen bewusst nur aus der bestehenden Skala:
   Label 12px · H2 clamp(31px,3.92vw,56px) · Lead clamp(18px,1.6vw,22px) ·
   Fließtext 17px · Kachel-Titel 23px · Meta (Brotkrumen, Unterzeilen) 15px.
   ===================================================================== */

/* ---------- Raster: ein gemeinsames 12er-Raster für alle Unterseiten ----------
   Zweispaltige Bereiche teilen 7/5 (Inhalt links, Bild/Verzeichnis/Formular-Kachel rechts)
   bzw. gespiegelt 5/7 – immer mit demselben Spaltenabstand. So liegen Hero, Inhaltsverzeichnis,
   Text+Bild und Formular auf denselben Linien. */
.hl{--sp-split:minmax(0,7fr) minmax(0,5fr);--sp-split-r:minmax(0,5fr) minmax(0,7fr)}
@media (min-width:981px){
  body.hl:not(.home) .hl-feature > .fusion-builder-row{grid-template-columns:var(--sp-split)}
  body.hl:not(.home) .hl-feature > .fusion-builder-row:has(> .hl-media:first-child){grid-template-columns:var(--sp-split-r)}
}

/* Sprungmarken: unter der haftenden Navigation landen */
.hl .hl-sec[id],.hl .hl-sec [id]{scroll-margin-top:120px}

/* Fließtext */
.hl .hl-sp-body{margin-top:12px}
.hl .hl-sp-body p{font-size:var(--fs-body);line-height:1.55;color:var(--ink);max-width:65ch} /* gleiche Farbe wie der Einleitungsabsatz (hl-lead) */

/* ---------- Kopf: Text links, Bild rechts (70 % der Bildspalte), Kernaussagen darunter ---------- */
.hl .hl-sp-hero > .fusion-builder-row{display:grid!important;grid-template-columns:var(--sp-split);column-gap:var(--si);align-items:center}
.hl .hl-sp-hero > .fusion-builder-row > .fusion-layout-column{width:auto!important;margin:0!important;min-width:0;float:none}
.hl .hl-sp-crumbs{margin-bottom:clamp(22px,2.4vw,32px)!important}
.hl .hl-sp-crumbs p{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:var(--fs-small);font-weight:500;line-height:1.55;color:var(--ink-4)}
.hl .hl-sp-crumbs a{color:inherit;transition:color .2s}
.hl .hl-sp-crumbs a:hover{color:var(--red)}
.hl .hl-sp-crumbs [aria-current]{color:var(--ink);font-weight:700}
body.hl .fusion-title.hl-sp-h1{--awb-font-size:var(--fs-h1);--awb-text-color:var(--ink)}
.hl .hl-sp-h1 h1{font-weight:700;line-height:1.06;letter-spacing:var(--ls);text-box:cap alphabetic;margin:0}
.hl .hl-sp-hero-text .fusion-button-wrapper,.hl .hl-sp-hero-text .fusion-button.hl-sp-cta{margin-top:clamp(28px,2.8vw,38px)}
.hl .hl-sp-hero-text .fusion-button-wrapper .fusion-button.hl-sp-cta{margin-top:0}
.hl .hl-sp-hero-media .fusion-image-element{margin:0}
.hl .hl-sp-hero-img{box-shadow:0 1px 0 #0000000a,0 40px 80px -40px #a8102f55}
.hl .hl-sp-hero-img img{object-position:58% 30%}

/* Kernaussagen: eine Glas-Leiste, vier gleich breite Spalten mit Trennlinie */
.hl .hl-sp-hero > .fusion-builder-row > .hl-sp-facts{grid-column:1/-1;margin-top:var(--si)!important}
/* Höhe wie die Navigationsleiste (96px): 52px Icon + 2×21px + Rahmen */
.hl .hl-sp-facts > .fusion-column-wrapper{padding:21px 0;border-radius:24px;background:var(--glass)!important;
  -webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);border:1px solid var(--glass-line);box-shadow:var(--glass-shadow)}
.hl .hl-grid-col.hl-sp-facts .fusion-builder-row-inner{grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.hl .hl-sp-fact > .fusion-column-wrapper{display:flex!important;flex-flow:row nowrap!important;justify-content:center!important;align-items:center;gap:14px;padding:0 20px}
.hl .hl-sp-fact + .hl-sp-fact{border-left:1px solid #0a141814}
.hl .hl-sp-fact .fusion-text{margin:0}
/* Icons exakt wie bei den Vorteils-Kacheln der Startseite (HL Icon „Kachel Türkis/Blau“: 52px, Strichstärke 500) */
.hl .hl-sp-fact .hl-ico .ic{font-variation-settings:"FILL" 0,"wght" 500,"opsz" 24}
.hl .hl-sp-fact p{margin:0!important;font-size:var(--fs-body);font-weight:700;line-height:1.3;color:var(--ink)}

/* ---------- Überblick: Text links, Inhaltsverzeichnis rechts ---------- */
.hl .hl-sp-intro .hl-sp-body p{max-width:50ch}
.hl .hl-sp-intro > .fusion-builder-row{display:grid!important;grid-template-columns:var(--sp-split);column-gap:var(--si);align-items:start}
.hl .hl-sp-intro > .fusion-builder-row > .fusion-layout-column{width:auto!important;margin:0!important;min-width:0;float:none}
.hl .hl-sp-intro .hl-h2 .fusion-title-heading{max-width:18ch;text-wrap:balance}
/* Inhaltsverzeichnis beginnt auf Höhe der Überschrift (Label-Höhe 13px + 2×8px Innenabstand + 22px Abstand) */
/* Rechte Spalte oben bündig mit der Label-Bubble (früher um die Label-Höhe nach unten versetzt, bündig mit der Überschrift). */
.hl .hl-sp-toc > .fusion-column-wrapper{padding:clamp(22px,2.4vw,30px);border-radius:24px;background:var(--glass)!important;
  -webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);border:1px solid var(--glass-line);box-shadow:var(--glass-shadow)}
.hl .hl-sp-toc .hl-label{margin-bottom:10px!important}
.hl .hl-sp-toc .hl-label p{background:none;color:var(--ink-4);padding:0}
.hl .hl-sp-toc .hl-label p::before{display:none}
.hl .hl-sp-toc-list ol{list-style:none;margin:0!important;padding:0;counter-reset:toc}
.hl .hl-sp-toc-list li{margin:0;padding:0;counter-increment:toc}
.hl .hl-sp-toc-list li + li{border-top:1px solid #0a141812}
.hl .hl-sp-toc-list a{display:grid;grid-template-columns:30px minmax(0,1fr) 20px;align-items:center;gap:12px;padding:13px 4px;font-size:var(--fs-body);font-weight:700;line-height:1.3;color:var(--ink);transition:color .25s}
.hl .hl-sp-toc-list a::before{content:counter(toc,decimal-leading-zero);font:700 var(--fs-label)/1 var(--ff);letter-spacing:.08em;color:var(--red)}
.hl .hl-sp-toc-list a::after{content:"arrow_downward";font-family:"Material Symbols Rounded";font-weight:normal;font-size:18px;line-height:1;font-feature-settings:"liga";color:#a3a29c;transition:transform .3s var(--ease),color .25s}
.hl .hl-sp-toc-list a:hover{color:var(--red)}
.hl .hl-sp-toc-list a:hover::after{color:var(--red);transform:translateY(3px)}

/* ---------- Leistungen: dunkle Kopf-Kachel + Glas-Kacheln (Bento) ---------- */
.hl .hl-sp-bento > .fusion-builder-row{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:18px;align-items:stretch}
.hl .hl-sp-bento > .fusion-builder-row > .fusion-layout-column{width:auto!important;margin:0!important;min-width:0;float:none}
.hl .hl-sp-bento-head > .fusion-column-wrapper{position:relative;overflow:hidden;isolation:isolate;justify-content:flex-start!important;height:100%;min-height:clamp(380px,34vw,480px);
  padding:clamp(28px,3vw,40px);border-radius:28px;color:#fff;
  background:radial-gradient(90% 70% at 85% 100%,color-mix(in srgb,var(--tl) 44%,transparent) 0%,transparent 60%),linear-gradient(165deg,var(--n2) 0%,var(--dark) 75%)!important;box-shadow:0 40px 80px -44px #0a1418b3}
.hl .hl-sp-bento-head > .fusion-column-wrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(color-mix(in srgb,var(--tl-l) 25%,transparent) 1px,transparent 1.3px);background-size:20px 20px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 70%);mask-image:linear-gradient(180deg,#000 0%,transparent 70%)}
/* Text beginnt oben (bündig mit der ersten Kachel rechts), das Symbol sitzt unten */
/* Symbol nie angeschnitten: fester Randabstand (--art-inset, halber Kachel-Innenabstand), einheitlich auf allen Seiten */
.hl .hl-sp-art{--art-inset:clamp(10px,.9vw,12px);position:absolute;z-index:-1;right:var(--art-inset);bottom:var(--art-inset);pointer-events:none;line-height:0}
.hl .hl-sp-art .ic{display:block;line-height:1}
/* Überschrift auf einer Höhe mit dem Kacheltitel rechts: Kachel-Innenabstand 32 + Symbol 52 + Abstand 12 + 14, abzüglich der größeren Schrift */
@media (min-width:981px){.hl .hl-sp-bento:not(.hl-un-solo) > .fusion-builder-row > .hl-sp-bento-head > .fusion-column-wrapper{padding-top:108px}}
.hl .hl-sp-art .ic{font-size:clamp(200px,20vw,280px);color:var(--tl-l);opacity:.12;font-variation-settings:"FILL" 0,"wght" 200,"opsz" 48}
.hl .hl-sp-bento-head .hl-label p{background:#ffffff1f;color:#ffb3c1}
body.hl .hl-sp-bento-head .fusion-title{--awb-text-color:#fff}
.hl .hl-sp-bento-head .hl-h2 .fusion-title-heading{max-width:none}
.hl .hl-sp-bento-head .hl-lead p{color:#fff;max-width:46ch}
.hl .hl-sp-bento-head .hl-sp-body p{color:#fff}
.hl .hl-grid-col.hl-sp-tiles .fusion-builder-row-inner{grid-template-columns:minmax(0,1fr);gap:18px;height:100%}
.hl .hl-sp-bento-head .hl-more a,.hl .hl-sp-bento-head .hl-more a::after{color:#fff}
.hl .hl-sp-bento-head .hl-more a:hover,.hl .hl-sp-bento-head .hl-more a:hover::after{color:#ff9fb2}
.hl .hl-sp-tile .fusion-text p{font-size:var(--fs-body);line-height:1.55;color:var(--ink-3);max-width:65ch}
.hl :is(.hl-sp-body,.hl-sp-tile .fusion-text) a{color:var(--red);font-weight:700;transition:color .2s}
.hl :is(.hl-sp-body,.hl-sp-tile .fusion-text) a:hover{color:var(--red-deep)}
/* Externe Links im Fließtext: Extern-Symbol wie im Footer */
.hl :is(.hl-sp-body,.hl-sp-tile .fusion-text) a[target="_blank"]::after{content:"open_in_new";display:inline-block;margin-left:3px;vertical-align:-2px;font-family:"Material Symbols Rounded";font-weight:normal;font-style:normal;font-size:16px;line-height:1;letter-spacing:normal;
  font-feature-settings:"liga";font-variation-settings:"FILL" 0,"wght" 300,"opsz" 24;-webkit-font-smoothing:antialiased;color:var(--tl);opacity:.7;transition:opacity .2s}
.hl :is(.hl-sp-body,.hl-sp-tile .fusion-text) a[target="_blank"]:hover::after{opacity:1}
/* Kacheln sind keine Links: ruhig bleiben, kein Hover-Effekt */
.hl .hl-sp-tile:hover > .fusion-column-wrapper{background:var(--glass)!important;border-color:var(--glass-line);box-shadow:var(--glass-shadow)}
.hl .hl-sp-tile:hover .hl-ico--red{background:var(--red-soft);color:var(--red)}

/* ---------- Text + Bild (hl-feature der Startseite) ---------- */
.hl .hl-sp-feature .hl-sp-body p{max-width:50ch}

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hl .hl-sp-hero > .fusion-builder-row{grid-template-columns:minmax(0,1fr)}
  .hl .hl-sp-hero > .fusion-builder-row > .hl-sp-hero-media{margin-top:var(--si)!important}
  .hl .hl-sp-hero-img{aspect-ratio:4/2.31}
  .hl .hl-sp-intro > .fusion-builder-row{grid-template-columns:minmax(0,1fr)}
  .hl .hl-sp-intro > .fusion-builder-row > .hl-sp-toc{margin-top:var(--si)!important}
  .hl .hl-sp-bento > .fusion-builder-row{grid-template-columns:minmax(0,1fr)}
  .hl .hl-sp-bento-head > .fusion-column-wrapper{min-height:0}
}
@media (max-width:620px){
  .hl .hl-grid-col.hl-sp-facts .fusion-builder-row-inner{grid-template-columns:minmax(0,1fr);row-gap:0}
  .hl .hl-sp-fact + .hl-sp-fact{border-left:0;border-top:1px solid #0a141814}
  .hl .hl-sp-fact > .fusion-column-wrapper{padding:14px 20px;justify-content:flex-start!important}
  .hl .hl-sp-facts > .fusion-column-wrapper{padding:6px 0}
}

/* Hero: Button + Pfeil-Link „Alle Leistungen anzeigen“ nebeneinander (wie Kontakt-Block der Startseite) */
.hl .hl-sp-hero-text > .fusion-column-wrapper{flex-flow:row wrap!important;align-items:center;align-content:center;column-gap:26px;row-gap:14px}
.hl .hl-sp-hero-text > .fusion-column-wrapper > *{flex:0 0 100%}
.hl .hl-sp-hero-text > .fusion-column-wrapper > :has(> .hl-inline),.hl .hl-sp-hero-text > .fusion-column-wrapper > .hl-inline{flex:0 0 auto;margin-top:0!important}
/* Zeilenabstand 14px gilt für alle Zeilen → übrige Abstände um 14px reduzieren (Optik unverändert) */
.hl .hl-sp-hero-text .hl-sp-crumbs{margin-bottom:calc(clamp(22px,2.4vw,32px) - 14px)!important}
.hl .hl-sp-hero-text .hl-lead{margin-top:14px!important;margin-bottom:calc(clamp(28px,2.8vw,38px) - 14px)!important}
.hl .hl-sp-hero-text .fusion-button.hl-sp-cta{margin-top:0!important}

/* Kachel-Titel auf der Skala */
body.hl .hl-sp-tile .fusion-title{--awb-font-size:var(--fs-card)}

/* Hero-Titel mit roter Unterzeile (wie „Die Datenbank-Profis“ auf der Startseite); Unterzeile in H2-Größe */
.hl .hl-sp-h1 .hl-main{display:block}
.hl .hl-sp-h1 .hl-sub{display:block;color:var(--red);font-size:var(--fs-title);line-height:1.1;margin-top:.25em}

/* Inhaltsverzeichnis: Schrift wie das Hauptmenü (16 px) in Grau #55554f */
.hl .hl-sp-toc-list a{font-size:16px;color:var(--ink-2)}
.hl .hl-sp-toc-list a:hover{color:var(--red)}
/* Inhaltsverzeichnis: 90 % der Spaltenbreite, rechts um 1.7rem eingerückt – Gegenstück zur Einrückung der Texte links (Desktop) */
@media (min-width:981px){.hl .hl-sp-toc > .fusion-column-wrapper{max-width:90%;margin-left:auto!important;margin-right:1.7rem!important}}

/* Einzeleinstellung Beratung: Textbereich der dunklen Kachel „Oracle und MS SQL Server Datenbanken“ 6rem höher (Desktop) */
@media (min-width:981px){.hl #oracle-ms-sql-server > .fusion-column-wrapper{padding-bottom:6rem!important}}

/* Zwischenüberschrift im Überblick-Text (z. B. Unternehmen: „Was uns auszeichnet“) */
body.hl .hl-sp-intro-text .fusion-title.hl-sp-subhead{margin-top:clamp(26px,2.6vw,36px)!important;margin-bottom:10px!important;--awb-font-size:var(--fs-card)}

/* Hero ohne Fließtext: Buttons nicht direkt unter der Überschrift kleben lassen (gleicher Rhythmus wie mit Lead) */
.hl .fusion-column-wrapper > .fusion-title.hl-sp-h1 + :not(.hl-lead),
.hl .fusion-column-wrapper > .fusion-title.hl-sp-h1 + :not(.hl-lead) + .hl-inline{margin-top:clamp(22px,2.4vw,34px)!important}
@media (max-width:620px){.hl .fusion-column-wrapper > .fusion-title.hl-sp-h1 + :not(.hl-lead) + .hl-inline{margin-top:0!important}} /* mobil: Link bricht unter den Button um */
