/* ── DIENST PAGE TEMPLATE ──────────────────────────────────────
   Einheitliches Layout für alle 7 Leistungsseiten.
   Lädt zusätzlich zu style.css.
────────────────────────────────────────────────────────────── */

/* ── INTRO SPLIT ─────────────────────────────────────────── */
.svd-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  background: #f0ece4;
}

.svd-intro-text {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svd-intro-text h2 { margin-bottom: 24px; }
.svd-intro-text p {
  font-size: 14px; color: #666;
  line-height: 1.88; margin-bottom: 14px;
}

/* Pills row: other services */
.svd-pills {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.svd-pill-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #999; width: 100%; margin-bottom: 2px;
}
.svs-pill {
  display: inline-block;
  padding: 7px 16px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.06em;
  background: transparent;
  border: 1px solid #d8d2c8;
  color: #666;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}
.svs-pill:hover {
  border-color: #c0201e;
  color: #c0201e;
  background: rgba(192,32,30,0.04);
}

/* Image side */
.svd-intro-img {
  position: relative;
  overflow: hidden;
}
.svd-intro-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.65) brightness(0.55);
  transition: transform 8s ease;
}
.svd-intro:hover .svd-intro-img img { transform: scale(1.03); }
.svd-intro-img-wash {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.2) 0%,
    rgba(10,10,10,0.6) 65%,
    rgba(10,10,10,0.95) 100%
  );
}

/* Floating contact box over the image */
.svd-contact-box {
  position: absolute;
  bottom: 48px; left: 48px; right: 48px;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.07);
  border-left: 2px solid #c0201e;
  padding: 28px 32px;
  z-index: 2;
}
.svd-contact-box-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: #c0201e; margin-bottom: 10px;
}
.svd-contact-box p {
  font-size: 13px; color: rgba(255,255,255,0.55);
  line-height: 1.7; margin-bottom: 14px;
}
.svd-contact-tel {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem; color: #fff;
  margin-bottom: 4px;
}

/* ── LEISTUNGEN LIST ─────────────────────────────────────── */
.svd-leistungen {
  background: #0a0a0a;
  padding: 100px 0;
}
.svd-leistungen-inner {
  padding: 0 80px;
}
.svd-leistungen-inner h2 { margin-bottom: 52px; }

.svd-li-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.04);
}
.svd-li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px;
  background: #0d0d0d;
  position: relative;
  transition: background 0.3s;
}
.svd-li::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px; background: #c0201e;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.76,0,0.24,1);
}
.svd-li:hover { background: #141414; }
.svd-li:hover::before { transform: scaleX(1); }

.svd-li-dot {
  width: 6px; height: 6px;
  background: #c0201e;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.svd-li p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ── PROCESS ─────────────────────────────────────────────── */
.svd-process {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: #f0ece4;
}
.svd-process-left {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid #d8d2c8;
}
.svd-process-right {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.svd-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid #d8d2c8;
  position: relative;
}
.svd-step:first-child { padding-top: 0; }
.svd-step:last-child  { border-bottom: none; padding-bottom: 0; }

.svd-step-n {
  font-family: 'DM Serif Display', serif;
  font-size: 3rem; line-height: 0.9;
  color: #d8d2c8; flex-shrink: 0;
  width: 64px; text-align: right;
  transition: color 0.3s;
}
.svd-step:hover .svd-step-n { color: #c0201e; }

.svd-step-body h4 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: #0f0f0f; margin-bottom: 6px;
}
.svd-step-body p {
  font-size: 14px; color: #888; line-height: 1.7;
}

/* ── TEXT BLOCK ──────────────────────────────────────────── */
.svd-text-block {
  background: #0a0a0a;
  padding: 100px 0;
}
.svd-text-block-inner {
  padding: 0 80px;
}
.svd-text-block-inner h2 {
  color: #fff;
  margin-bottom: 48px;
}
.svd-text-block-inner h2 em { color: #c0201e; }
.svd-text-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.svd-text-cols p {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.88;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .svd-li-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .svd-intro { grid-template-columns: 1fr; }
  .svd-intro-img { min-height: 420px; }
  .svd-intro-text { padding: 64px 32px; }
  .svd-leistungen { padding: 72px 0; }
  .svd-leistungen-inner { padding: 0 32px; }
  .svd-process { grid-template-columns: 1fr; }
  .svd-process-left { padding: 64px 32px 48px; border-right: none; border-bottom: 1px solid #d8d2c8; }
  .svd-process-right { padding: 48px 32px 64px; }
  .svd-text-block { padding: 72px 0; }
  .svd-text-block-inner { padding: 0 32px; }
  .svd-text-cols { grid-template-columns: 1fr; gap: 20px; }
  .svd-contact-box { left: 24px; right: 24px; bottom: 24px; }
}
@media (max-width: 560px) {
  .svd-li-grid { grid-template-columns: 1fr; }
  .svd-step-n { font-size: 2rem; width: 40px; }
}
