/* css/dienstleistungen.css — angelegt 25.09.2026.

   Gehört zu /dienstleistungen. kopf.php bindet diese Datei NACH
   css/fif-base.css ein, die Reihenfolge entscheidet also bei
   gleicher Spezifität.

   Vorher stand auf der Seite ein 4,2 KB langer $seitenCss-Block.
   Davon waren neun Regeln reine Dubletten des Chat-Panels aus
   fif-base.css (Wort für Wort nachgemessen, keine Abweichung) und
   acht Regeln gehörten zum alten SVG-Schaubild und den
   "Mehr erfahren"-Links, die es so nicht mehr gibt.
   Beides ist ersatzlos entfallen.

   Aufbau: ein Kopfbereich, fünf Bänder (Nummer - Text - sechs
   Kacheln), Rest kommt aus fif-base.css. */

/* ---------- Kopfbereich ---------- */
.dl-hero {
  padding: 86px 0 58px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.dl-hero::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -140px;
  width: 660px;
  height: 660px;
  background: radial-gradient(circle, rgba(77, 196, 255, 0.10), transparent 62%);
  pointer-events: none;
}
.dl-hero-in { position: relative; z-index: 1; max-width: 900px; }
.dl-hero h1 {
  font-size: clamp(2.3rem, 5.6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 0 0 22px;
}
.dl-hero h1 span { display: block; color: var(--text-muted); }
.dl-lead {
  font-size: 1.12rem;
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0;
}
.dl-zahlen {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.dl-zahlen b { color: var(--accent); font-weight: 500; }

/* ---------- Bänder ---------- */
.dl-band {
  border-bottom: 1px solid var(--border);
  padding: 54px 0;
  transition: background 0.3s;
}
.dl-band:hover { background: rgba(120, 200, 255, 0.016); }
.dl-reihe {
  display: grid;
  grid-template-columns: 100px minmax(0, 0.62fr) minmax(0, 1.38fr);
  gap: 32px;
  align-items: start;
}
.dl-num {
  font-family: var(--font-mono);
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  background: linear-gradient(160deg, var(--accent), var(--accent-secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.dl-titel {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 0 0 10px;
}
.dl-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.97rem;
  line-height: 1.66;
}
.dl-merk {
  margin: 16px 0 0;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--accent);
}
.dl-merk::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
  flex: none;
  margin-top: 0.6em;
}

/* Weiterführende Links je Band. Ersetzen die alten
   "Mehr erfahren"-Knöpfe der drei Karten. */
.dl-links {
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}
.dl-links a {
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s, transform 0.2s;
  width: fit-content;
}
.dl-links a::before { content: '\2192'; color: var(--accent); opacity: 0.7; }
.dl-links a:hover { color: var(--accent); transform: translateX(3px); }

/* ---------- Kacheln: drei oben, drei unten ---------- */
.dl-kacheln {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.dl-kachel {
  position: relative;
  min-height: 118px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 14px 13px 13px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.dl-kachel:hover {
  border-color: rgba(0, 229, 168, 0.45);
  transform: translateY(-3px);
  background: rgba(0, 229, 168, 0.04);
}
.dl-sym {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(0, 229, 168, 0.08);
  border: 1px solid rgba(0, 229, 168, 0.22);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: var(--accent);
}
.dl-sym svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.dl-kachel b {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.3;
}
.dl-kachel span {
  display: block;
  font-size: 0.755rem;
  line-height: 1.48;
  color: var(--text-muted);
}
/* Punkt an den Kacheln, die dauerhaft überwacht werden.
   Die Bedeutung steht als Text im Kopfbereich, nicht nur
   in der Farbe. */
.dl-puls {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  opacity: 0.75;
}

/* ---------- schmalere Fenster ---------- */
@media (max-width: 1100px) {
  .dl-reihe { grid-template-columns: 84px 1fr; gap: 24px; }
  .dl-kacheln { grid-column: 1 / -1; margin-top: 8px; }
}
@media (max-width: 760px) {
  .dl-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dl-reihe { grid-template-columns: 1fr; gap: 12px; }
  .dl-band { padding: 40px 0; }
  .dl-num { font-size: 2.4rem; }
  .dl-kacheln { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .dl-hero { padding: 62px 0 46px; }
  .dl-hero h1 { font-size: 2rem; }
}
