/* ════════════════════════════════════════════════════════════════
   SERVICE PAGES — KI-Automatisierung, Webdesign, App, Marketing
   Extends legal.css base + main glass system
   ════════════════════════════════════════════════════════════════ */

/* ── Ambient background ──────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 8%,  rgba(255,255,255,0.030) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 85% 85%, rgba(255,255,255,0.022) 0%, transparent 55%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(255,255,255,0.010) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Page wrapper ────────────────────────────────────────────── */
.svc-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding-top: calc(var(--nav-top, 20px) + var(--nav-height, 52px) + 56px);
  padding-bottom: 120px;
}

.svc-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Back link ───────────────────────────────────────────────── */
.svc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 44px;
  font-size: 13px;
  font-weight: 450;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: color 0.25s ease;
}
.svc-back:hover { color: rgba(255,255,255,0.78); }
.svc-back svg { transition: transform 0.25s cubic-bezier(0.22,1,0.36,1); }
.svc-back:hover svg { transform: translateX(-3px); }

/* ── Hero ────────────────────────────────────────────────────── */
.svc-hero {
  margin-bottom: 64px;
}

.svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 18px;
}

.svc-eyebrow-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.28);
  flex-shrink: 0;
}

.svc-title {
  font-size: clamp(42px, 6.5vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: rgba(255,255,255,0.96);
  margin-bottom: 22px;
}

.svc-tagline {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 400;
  color: rgba(255,255,255,0.48);
  letter-spacing: -0.01em;
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 32px;
}

/* Hero CTA row */
.svc-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.svc-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.96);
  text-decoration: none;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.40);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.38),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    0 0 22px rgba(255,255,255,0.09),
    0 4px 20px rgba(0,0,0,0.30);
  transition:
    transform 0.3s cubic-bezier(0.22,1,0.36,1),
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.svc-cta-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.16) 50%, transparent 70%);
  transform: translateX(-110%) skewX(-12deg);
  transition: transform 0s;
}
.svc-cta-primary:hover {
  transform: scale(1.04);
  background: rgba(255,255,255,0.26);
  border-color: rgba(255,255,255,0.55);
  box-shadow:
    inset 0 1.5px 0 rgba(255,255,255,0.48),
    0 0 32px rgba(255,255,255,0.14),
    0 6px 28px rgba(0,0,0,0.38);
}
.svc-cta-primary:hover::after {
  transform: translateX(210%) skewX(-12deg);
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1);
}

.svc-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 450;
  letter-spacing: -0.005em;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.25s ease;
}
.svc-cta-ghost:hover { color: rgba(255,255,255,0.88); }

/* ── Feature grid ────────────────────────────────────────────── */
.svc-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

@media (max-width: 680px) {
  .svc-features { grid-template-columns: 1fr; }
}
@media (min-width: 681px) and (max-width: 860px) {
  .svc-features { grid-template-columns: repeat(2, 1fr); }
}

.feature-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  padding: 26px 24px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(32px) saturate(160%);
  -webkit-backdrop-filter: blur(32px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -1px 0 rgba(255,255,255,0.03);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.22,1,0.36,1);
}
.feature-card:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow:
    0 16px 44px rgba(0,0,0,0.32),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(255,255,255,0.04);
  transform: translateY(-2px);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38) 50%, transparent);
  border-radius: 999px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 17px;
  line-height: 1;
}

.feature-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.88);
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-body {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.44);
  line-height: 1.65;
  letter-spacing: -0.003em;
}

/* ── Process section ─────────────────────────────────────────── */
.svc-process {
  margin-top: 56px;
  margin-bottom: 56px;
}

.svc-section-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 28px;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.process-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  border-radius: 18px;
  overflow: hidden;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 6px 20px rgba(0,0,0,0.20),
    inset 0 1px 0 rgba(255,255,255,0.24);
}
.process-item::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22) 50%, transparent);
}

.process-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.40);
  font-variant-numeric: tabular-nums;
  margin-top: 1px;
}

.process-content {}

.process-title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.82);
  margin-bottom: 5px;
}

.process-body {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.42);
  line-height: 1.60;
  letter-spacing: -0.003em;
}

/* ── Big CTA card ────────────────────────────────────────────── */
.svc-cta-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  padding: 48px 40px;
  text-align: center;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(40px) saturate(180%) brightness(110%);
  -webkit-backdrop-filter: blur(40px) saturate(180%) brightness(110%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.38),
    inset 0 1px 0 rgba(255,255,255,0.55),
    inset 0 -1px 0 rgba(255,255,255,0.04);
  margin-top: 56px;
}
.svc-cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.60) 50%, transparent);
  border-radius: 999px;
}

/* Traveling reflection */
.svc-cta-reflection {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  pointer-events: none;
}
.svc-cta-reflection::after {
  content: '';
  position: absolute;
  top: -40%; left: -30%;
  width: 40%; height: 180%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.03) 40%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 60%, transparent 100%);
  transform: skewX(-12deg);
  animation: glass-sweep 10s linear infinite;
}

.svc-cta-card-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.95);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.svc-cta-card-sub {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255,255,255,0.44);
  letter-spacing: -0.005em;
  line-height: 1.55;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.svc-cta-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 680px) {
  .svc-page {
    padding-top: calc(20px + 52px + 36px);
    padding-bottom: 80px;
  }
  .svc-cta-card {
    padding: 32px 22px;
    border-radius: 22px;
  }
  .svc-hero { margin-bottom: 44px; }
  .svc-title { line-height: 1.0; }
}
